.btn-orange {
  background-color: #ff6600; /* Pomarańczowy */
  color: #fff; /* Tekst na biało */
  /* border: none; */
}

.btn-orange:hover {
  background-color: #e65c00; /* Ciemniejszy odcień przy hover */
  color: #fff;
}

/* lista podzespolow */
.components-list input.component-name,
.components-list input.component-value {
  height: 28px;
  font-size: 0.85rem;
  padding: 2px 6px;
  margin-bottom: 2px;
}

.modal-dialog {
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-body {
  max-height: 65vh;
  overflow-y: auto;
}

.component-placeholder {
  font-size: 0.8rem !important;
  font-style: italic;
  color: #ff5e66;
}

.page-item.active .page-link {
  background-color: #ff6600 !important;
  border-color: #ff6600 !important;
  color: #fff !important;
}

.page-link,
.page-link:hover {
  color: black;
}

.swal2-confirm {
  background-color: #ff6600 !important;
  font-size: 0.85rem !important;
}

.swal2-cancel {
  background-color: gray !important;
  font-size: 0.85rem !important;
}

/* Multi Select2 – jak .form-control */
.select2-container--default .select2-selection--multiple {
  min-height: 38px;
  padding: 0;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  display: flex;
  align-items: right;
  font-size: 0.9rem;
  line-height: 20px;
  padding-top: 5px;
}

/* Pojedynczy Select2 – jak .form-control */
.select2-container--default .select2-selection--single {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  font-size: 1rem;
  line-height: 20px;
  background-color: #fff;
  cursor: pointer;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 5px;
}

.new-items-separator {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #f0801a;
  font-weight: 600;
  margin: 12px 0 6px;
}

.modal-dimmed .modal-content {
  filter: brightness(0.55);
  transition: filter 0.2s ease-in-out;
  pointer-events: none;
}

/* Pozwól zaznaczać tekst w wybranym select2 */
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  user-select: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  cursor: text;
}

#contrahentOffersTable {
  width: 98% !important;
  margin: 0 auto;
}
