.toggle-container {
    background-color: #eaedf0;
    padding: 4px;
    border-radius: 12px;
    display: flex;
}

.toggle-btn {
    border: none;
    background: transparent;
    color: #475569;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
    width: 50%;
    position: relative;
}

.toggle-btn:hover {
    color: #1e293b;
}

.toggle-btn:focus {
    outline: none;
}

.toggle-btn.active {
    background-color: #ffffff;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.toggle-btn i {
    margin-right: 10px;
    font-size: 0.8rem;
}

#autocomplete-results {
    max-height: 12rem;
    overflow-y: auto !important;
    overflow-x: hidden;
    display: block;
    padding-right: 4px;
    margin-top: 5px;
}

#autocomplete-results::-webkit-scrollbar {
    width: 5px;
}

#autocomplete-results::-webkit-scrollbar-thumb {
    background-color: #dee2e6;
    border-radius: 10px;
}

.custom-list-item {
    border-radius: 12px !important;
    margin-bottom: 8px;
    border: 1px solid #dee2e6 !important;
    cursor: pointer;
    transition: background-color 0.2s;
}

.custom-list-item:hover {
    background-color: #f2faf5 !important;
    border-color: #d1e7dd !important;
}

.custom-badge {
    background-color: #f0f4f1;
    color: #5a8d6e;
    font-weight: 500;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.85rem;
}

.text-address {
    color: #6c757d;
    font-size: 0.9rem;
}

.selected-client-card {
    background-color: #f2faf5 !important;
    border: 1px solid #d1e7dd !important;
    border-radius: 12px;
    padding: 12px 16px;
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selected-client-content .detail-text {
    color: #6c757d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
}

.btn-close-custom {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a8d6e;
    transition: all 0.2s ease-in-out;
    margin-left: 10px;
}

.btn-close-custom:hover {
    background-color: #d1e7dd;
    color: #2c4f3b;
}

.btn-close-custom i {
    font-size: 1.1rem;
    line-height: 1;
}

.bi-geo-alt, .bi-geo-alt-fill {
    margin-right: 5px;
}

.btn-cancel:hover {
    background-color: #e9f7ef;
    color: #1e7e34 !important;
}

.btn-add {
    background-color: #1B9849FF;
    border-radius: 8px;
    color: white;
}

.btn-add:hover {
    background-color: #1B9849E5 !important;
    color: white;
}

.send-invoice-label {
  cursor: pointer;
  background-color: #f0faf4;
  color: #212529;
}

.send-invoice-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid #1a9848;
  border-radius: 50%;
  color: transparent;
}

#id_send_invoice:checked + .send-invoice-label .send-invoice-checkbox {
  background-color: #1a9848;
  color: #fff;
}

#id_send_invoice:disabled + .send-invoice-label {
  opacity: 0.5;
  cursor: not-allowed;
}

.telclient-brand-bg {
  background-color: #25a777 !important;
  border-color: #25a777 !important;
  color: #fff !important;
}

.telclient-brand-text {
  color: #059467 !important;
}

.telclient-related-wrapper {
  border: 1px solid #e2e8f0ff;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: #fff;
}

.telclient-card {
  border-radius: 0.75rem;
  border-color: #e2e8f0ff;
}

.telclient-related-table {
  margin-bottom: 0;
}

.telclient-related-table thead th {
  background-color: #f9fafc;
  color: #718395;
  font-weight: 500;
  padding: 0.9rem 1rem;
  text-align: center;
}

.telclient-related-table thead th a,
.telclient-related-table thead th a:link,
.telclient-related-table thead th a:visited,
.telclient-related-table thead th a:hover,
.telclient-related-table thead th a:focus,
.telclient-related-table thead th a:active {
  color: #718395;
}

.telclient-related-table tbody td {
  padding: 1rem;
  border-top: 1px solid #f1f3f5;
  border-bottom: 0;
  vertical-align: middle;
  font-weight: 500;
  text-align: center;
}

.telclient-related-table tbody tr:first-child td {
  border-top: 0;
}

.telclient-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
  background-color: #fff;
  border: 1px solid #cacaca;
  border-radius: 0.75rem;
}

.telclient-tabs .telclient-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.telclient-tabs .telclient-tab:hover {
  background-color: #f3f4f6;
  color: #111827;
}

.telclient-tabs .telclient-tab.active {
  background-color: #25a777;
  color: #fff;
}

.telclient-tabs .telclient-tab.active:hover {
  background-color: #157347;
  color: #fff;
}

.telclient-invoice-badge {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  background-color: #f3f4f6;
  color: #6b7280;
}

.telclient-invoice-badge--paid {
  background-color: #25a7771a;
  border: 1px solid #25a77733;
  color: #25a777;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  padding: 2px 10px;
  text-align: center;
}

.telclient-invoice-badge--overdue {
  background-color: #ef44441a;
  border: 1px solid #ef444433;
  color: #ef4444;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  padding: 2px 10px;
  text-align: center;
}

.telclient-invoice-badge--topay {
  background-color: #f59f0a1a;
  border: 1px solid #f59f0a33;
  color: #f59f0a;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  padding: 2px 10px;
  text-align: center;
}

.telclient-invoice-summary {
  border-radius: 8px;
  border-style: solid;
  border-width: 1px;
  line-height: 24px;
  padding: 1rem 1.25rem;
}

.telclient-invoice-summary--paid {
  background-color: #25a7771a;
  border-color: #25a77733;
}

.telclient-invoice-summary--paid .telclient-invoice-summary__label,
.telclient-invoice-summary--paid .telclient-invoice-summary__value {
  color: #25a777;
}

.telclient-invoice-summary--unpaid {
  background-color: #ef44441a;
  border-color: #ef444433;
}

.telclient-invoice-summary--unpaid .telclient-invoice-summary__label,
.telclient-invoice-summary--unpaid .telclient-invoice-summary__value {
  color: #ef4444;
}

.telclient-invoice-summary__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.telclient-invoice-summary__value {
  font-size: 1.5rem;
  font-weight: 700;
}

.telclient-related-table > :not(:first-child) {
  border-top: 0;
}

.telclient-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background-color: #fff;
  flex-wrap: wrap;
}

.telclient-pagination__summary {
  color: #6b7280;
  font-size: 0.875rem;
}

.telclient-pagination__summary strong {
  color: #111827;
  font-weight: 600;
}

.telclient-pagination__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.telclient-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  border-radius: 0.375rem;
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  background-color: transparent;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.telclient-pagination__link:hover {
  color: #111827;
  background-color: #f3f4f6;
}

.telclient-pagination__item--active .telclient-pagination__link {
  color: #111827;
  border-color: #d1d5db;
  background-color: #fff;
}

.telclient-pagination__link--disabled,
.telclient-pagination__link--disabled:hover {
  color: #d1d5db;
  background-color: transparent;
  cursor: default;
}

.telclient-pagination__link--ellipsis,
.telclient-pagination__link--ellipsis:hover {
  background-color: transparent;
  cursor: default;
}

.telclient-pagination__item--prev .telclient-pagination__link span,
.telclient-pagination__item--next .telclient-pagination__link span {
  font-size: 1rem;
  line-height: 1;
}

.telclient-pagination__item--prev .telclient-pagination__link span {
  margin-right: 0.25rem;
}

.telclient-pagination__item--next .telclient-pagination__link span {
  margin-left: 0.25rem;
}

.telclient-merge-intro {
  background: #f8fafc;
  color: #334155;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  font-size: .85rem;
  margin: -1rem -1rem 1rem;
  border-radius: 0;
}

.telclient-merge-group {
  border: 0;
  margin-bottom: 2rem;
}

.telclient-merge-group__header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
  font-weight: 600;
}

.telclient-merge-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

@media (max-width: 768px) {
  .telclient-merge-cards {
    grid-template-columns: 1fr;
  }
}

.telclient-merge-card {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: .75rem 1rem;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

.telclient-merge-card:hover {
  border-color: #cbd5e0;
}

.telclient-merge-card.is-primary {
  border-color: #309f3d;
  background: #f0fdf4;
}

.telclient-merge-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: .25rem;
}

.telclient-merge-card__name {
  font-weight: 600;
}

.telclient-merge-card__badge {
  font-size: .75rem;
  padding: .15rem .5rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
}

.telclient-merge-card__badge.is-primary {
  background: #309f3d;
  color: white;
  border-radius: 6px;
  transition: background-color .15s;
}

.telclient-merge-card:hover .telclient-merge-card__badge.is-primary {
  background: #4ab058;
}

.telclient-merge-card__meta {
  color: #64748b;
  font-size: .85rem;
  line-height: 1.5;
}

.telclient-merge-card__meta i {
  width: 1rem;
}

.telclient-merge-card__inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.merge-link-progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.merge-link-progress__step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e9ecef;
  color: #6c757d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}
.merge-link-progress__step.is-active,
.merge-link-progress__step.is-done {
  background: #059467;
  color: #fff;
}
.merge-link-progress__step.is-done {
  font-size: 0;
}
.merge-link-progress__step.is-done::before {
  content: "\2713";
  font-size: 0.95rem;
  font-weight: 700;
}
.merge-link-progress__bar {
  flex: 1;
  height: 2px;
  background: #e9ecef;
}
.merge-link-progress__step.is-done + .merge-link-progress__bar {
  background: #059467;
}
.btn-ghost {
  color: #212529;
  background: transparent;
  border: 0;
  text-decoration: none;
}
.btn-ghost:hover,
.btn-ghost:focus {
  background: #f1f3f5;
  color: #212529;
}

.merge-link-candidate-list .merge-link-candidate {
  cursor: pointer;
  transition: background 0.15s ease;
  margin: 0;
  border-top: 1px solid #dee2e6;
}
.merge-link-candidate-list .merge-link-candidate:first-child {
  border-top: 0;
}
.merge-link-candidate-list .merge-link-candidate:hover {
  background: #f8f9fa;
}
.merge-link-candidate-list .merge-link-candidate.is-selected,
.merge-link-candidate-list .merge-link-candidate.is-selected:hover {
  background: #f5faf8;
}

#drop-edit-addresses .telclient-related-table thead th {
  font-size: .75rem;
}
#drop-edit-addresses .drop-footer {
  margin-left: -1rem;
  margin-right: -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
#drop-edit-addresses .drop-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  height: 2.25rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  background-color: transparent;
  color: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
#drop-edit-addresses .drop-btn-ghost:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}
#drop-edit-addresses .drop-btn-ghost:disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}
#drop-edit-addresses .drop-pending-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  height: 1.25rem;
  padding: 0.125rem 0.625rem;
  border: 1px solid #a7f3d0;
  border-radius: 0.5rem;
  background-color: #ecfdf5;
  color: #047857;
  font-size: 11px;
  font-weight: 400;
  transition: background-color .15s ease, color .15s ease;
}
#drop-edit-addresses .drop-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 0.5rem;
  background-color: white;
  color: #64748b;
  transition: background-color .15s ease, color .15s ease;
}
#drop-edit-addresses .drop-remove-btn:hover {
  background-color: #fef2f2;
  color: #e7000b;
}
#drop-edit-addresses .drop-restore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  white-space: nowrap;
  height: 1.75rem;
  padding: 0 0.75rem;
  border: none;
  border-radius: 0.375rem;
  background-color: transparent;
  color: #047857;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
#drop-edit-addresses .drop-restore-btn:hover {
  background-color: #ecfdf5;
  color: #065f46;
}
#drop-edit-addresses .drop-confirm-row > td {
  background-color: #fef2f2;
}
#drop-edit-addresses .drop-confirm-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
#drop-edit-addresses .drop-confirm-text {
  color: #b91c1c;
  font-weight: 500;
}
#drop-edit-addresses .drop-confirm-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
#drop-edit-addresses .drop-confirm-cancel {
  border: none;
  background: none;
  color: #0f172a;
  font-weight: 500;
  cursor: pointer;
}
#drop-edit-addresses .drop-confirm-cancel:hover {
  color: #334155;
}
#drop-edit-addresses .drop-confirm-delete {
  border: none;
  background: #ef4444;
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.4rem 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .15s ease;
}
#drop-edit-addresses .drop-confirm-delete:hover {
  background: #dc2626;
}
#drop-edit-addresses .drop-deleted-row > td {
  background-color: #fcf9fa;
}
#drop-edit-addresses .drop-undo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 0.5rem;
  background-color: #f1f5f9;
  color: #64748b;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
#drop-edit-addresses .drop-undo-btn:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}
#drop-edit-addresses .drop-deleted-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  height: 1.25rem;
  padding: 0.125rem 0.625rem;
  border: 1px solid #fde68a;
  border-radius: 0.5rem;
  background-color: #fffbeb;
  color: #b45309;
  font-size: 11px;
  font-weight: 400;
}
#drop-edit-addresses .drop-locked-badge {
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  height: 1.25rem;
  padding: 0 0.375rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.25rem;
  background-color: #f1f5f9;
  font-size: 11px;
  font-weight: 500;
  color: #334155;
  transition: background-color 0.15s ease, color 0.15s ease;
}
#drop-edit-addresses .drop-locked-badge:hover {
  background-color: #e2e8f0;
}
#drop-edit-addresses .drop-locked-row > td {
  background-color: rgba(248, 250, 252, 0.6);
}
.drop-lock-popover {
  position: fixed;
  z-index: 1090;
  width: 340px;
  max-width: calc(100vw - 1rem);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}
.drop-lock-popover-icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: #475569;
}
.drop-lock-popover-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 0.25rem;
}
.drop-lock-popover-text {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.375;
  color: #475569;
}
#modal_generic .drop-discard-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: rgba(15, 23, 42, 0.45);
  border-radius: inherit;
}
#modal_generic .drop-discard-card {
  position: relative;
  width: 100%;
  max-width: 26rem;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  padding: 1.25rem 1.5rem;
}
#modal_generic .drop-discard-x {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  border: none;
  background: none;
  font-size: 1.35rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
}
#modal_generic .drop-discard-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
#modal_generic .drop-discard-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
}
#modal_generic .drop-discard-text {
  margin: 0 0 1.25rem;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
}
#modal_generic .drop-discard-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}
#modal_generic .drop-discard-cancel {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .15s ease;
}
#modal_generic .drop-discard-cancel:hover {
  background: #f8fafc;
}
#modal_generic .drop-discard-confirm {
  border: none;
  background: #ef4444;
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .15s ease;
}
#modal_generic .drop-discard-confirm:hover {
  background: #dc2626;
}

/* ---- Saved-changes confirmation (shown after "Zapisz zmiany") ---- */
#drop-changes-saved .dcs-stats,
#drop-changes-saved .dcs-list-block,
#drop-changes-saved .dcs-banner {
  margin-bottom: 1rem;
}
#drop-changes-saved .dcs-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
#drop-changes-saved .dcs-stat {
  border: 1px solid;
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
}
#drop-changes-saved .dcs-stat-added {
  background: #ecfdf5;
  border-color: #a7f3d0;
}
#drop-changes-saved .dcs-stat-removed {
  background: #fff1f2;
  border-color: #fecdd3;
}
#drop-changes-saved .dcs-stat-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
#drop-changes-saved .dcs-stat-added .dcs-stat-label {
  color: #065f46;
}
#drop-changes-saved .dcs-stat-added .dcs-stat-value {
  color: #064e3b;
}
#drop-changes-saved .dcs-stat-removed .dcs-stat-label {
  color: #9f1239;
}
#drop-changes-saved .dcs-stat-removed .dcs-stat-value {
  color: #881337;
}
#drop-changes-saved .dcs-stat-value {
  margin-top: 0.25rem;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}
#drop-changes-saved .dcs-list-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: #64748b;
  margin-bottom: 0.5rem;
}
#drop-changes-saved .dcs-list {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  overflow-y: auto;
  max-height: 14rem;
}
#drop-changes-saved .dcs-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.875rem;
}
#drop-changes-saved .dcs-list-item:first-child {
  border-top: 0;
}
#drop-changes-saved .dcs-list-address {
  font-size: 0.875rem;
  color: #1e293b;
}
#drop-changes-saved .dcs-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  height: 1.5rem;
  padding: 0.125rem 0.625rem;
  border: 1px solid;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}
#drop-changes-saved .dcs-badge-added {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #047857;
}
#drop-changes-saved .dcs-badge-removed {
  border-color: #fecdd3;
  background: #fff1f2;
  color: #be123c;
}
#drop-changes-saved .dcs-banner {
  display: flex;
  gap: 0.75rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 0.875rem;
  color: #78350f;
}
#drop-changes-saved .dcs-banner-icon {
  color: #d97706;
  line-height: 0;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
#drop-changes-saved .dcs-banner-title {
  font-weight: 500;
}
#drop-changes-saved .dcs-banner-text {
  margin-top: 0.375rem;
  font-size: 13px;
  line-height: 1.375;
  opacity: 0.9;
}
#drop-changes-saved .dcs-meta {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.75rem;
  color: #475569;
}
#drop-changes-saved .dcs-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#drop-changes-saved .dcs-meta-row svg {
  flex-shrink: 0;
  color: #94a3b8;
}
#drop-changes-saved .dcs-meta-label {
  color: #64748b;
}
#drop-changes-saved .dcs-meta-value {
  font-weight: 500;
  color: #1e293b;
}
#drop-changes-saved .dcs-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
#drop-changes-saved .dcs-btn-confirm {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.25rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  background-color: #1b9849;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity .15s ease;
}
#drop-changes-saved .dcs-btn-confirm:hover {
  opacity: 0.9;
}

#order-form hr {
  height: 1px;
  border: 0;
  background-color: #e2e8f0;
  opacity: 1;
}

#order-form .rounded-625,
#order-form .form-control,
#order-form .form-select {
  border-radius: .625rem;
}

#order-form .form-control,
#order-form .form-select {
  border-color: #e2e8f0;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
}

#order-form .input-group .form-control {
  border-radius: .625rem !important;
}

#order-form .input-group .input-group-text {
  border-radius: .625rem !important;
  margin-left: .375rem;
  border-left: 1px solid var(--bs-border-color);
}

#order-form .input-unit {
  position: relative;
}

#order-form .input-unit .unit {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bs-secondary-color);
  pointer-events: none;
}

#order-form .input-unit .form-control {
  padding-right: 2.25rem;
}

#order-form #id_cost {
  font-weight: 600;
}

#order-form .btn-soft {
  background-color: #fff;
}

#order-form .btn-soft:hover {
  background-color: #f1f5f9;
}

#order-form .btn-secondary-soft {
  background-color: #f1f5f9;
  color: #334155;
}

#order-form .btn-secondary-soft:hover {
  background-color: #e2e8f0;
  color: #334155;
}

#order-form .form-switch {
  padding-left: 0;
  min-height: auto;
}

#order-form .form-switch .form-check-input {
  width: 2.5rem;
  height: 1.4rem;
  margin-left: 0;
  margin-top: 0;
}
