html,
body {
  font-family: "Poppins", sans-serif !important;
}

a,
.btn-link {
  color: #006bb7;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow:
    0 0 0 0.1rem white,
    0 0 0 0.25rem #258cfb;
}

.content {
  padding-top: 1.1rem;
}

h1:focus {
  outline: none;
}

.valid.modified:not([type="checkbox"]) {
  outline: 1px solid #26b050;
}

.invalid {
  outline: 1px solid #e50000;
}

.validation-message {
  color: #e50000;
}

.blazor-error-boundary {
  background:
    url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=)
      no-repeat 1rem/1.8rem,
    #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}

.blazor-error-boundary::after {
  content: "An error has occurred.";
}

.darker-border-checkbox.form-check-input {
  border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.blazored-toast-container .blazored-toast {
  min-width: 500px;
  padding: 1rem 1.25rem;
}

.blazored-toast-container .blazored-toast p,
.blazored-toast-container .blazored-toast span {
  font-size: 24px !important;
}

/* ── FULL-PAGE SHELL ─────────────────────────────────────── */

.auth-shell {
  font-family: "DM Sans", sans-serif;
  background: #f4f7fb;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* ── AUTH CARD ───────────────────────────────────────────── */

.auth-card {
  background: #ffffff;
  border: 1px solid #e2e8f4;
  border-radius: 14px;
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(26, 34, 54, 0.06),
    0 4px 16px rgba(26, 34, 54, 0.04);
}

.auth-card--wide {
  max-width: 560px;
}

.auth-card-header {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e8eef8;
  background: #fafbfd;
}

.auth-card-header .brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.auth-card-header .brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.auth-card-header h1 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
  color: #1a2236;
}

.auth-card-header .subtitle {
  font-size: 0.78rem;
  color: #6b7a99;
  margin: 0;
  font-weight: 400;
}

/* ── CARD BODY ───────────────────────────────────────────── */

.auth-card-body {
  padding: 1.75rem 1.5rem;
}

.auth-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a2236;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}

.auth-desc {
  font-size: 0.82rem;
  color: #6b7a99;
  margin: 0 0 1.5rem;
}

/* ── FORM FIELDS ─────────────────────────────────────────── */

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.auth-field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.auth-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #4b6aaa;
  letter-spacing: 0.02em;
}

.auth-input {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  border: 1px solid #dde4ef;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  color: #1a2236;
  background: #fff;
  outline: none;
  width: 100%;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  box-sizing: border-box;
}

.auth-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.auth-input::placeholder {
  color: #b0bdd4;
}

.auth-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7a99' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
  cursor: pointer;
}

/* ── REMEMBER ME / FORGOT ────────────────────────────────── */

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.auth-check {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #4b6aaa;
  cursor: pointer;
  user-select: none;
}

.auth-check input[type="checkbox"] {
  accent-color: #2563eb;
  width: 14px;
  height: 14px;
  cursor: pointer;
}

/* ── LINKS ───────────────────────────────────────────────── */

.auth-link {
  font-size: 0.8rem;
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.auth-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* ── SUBMIT BUTTON ───────────────────────────────────────── */

.auth-btn {
  width: 100%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition:
    opacity 0.15s,
    box-shadow 0.15s;
  margin-bottom: 1rem;
}

.auth-btn:hover {
  opacity: 0.92;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.auth-btn:active {
  opacity: 0.85;
}

/* ── FOOTER LINK LINE ────────────────────────────────────── */

.auth-footer {
  text-align: center;
  font-size: 0.8rem;
  color: #6b7a99;
  margin: 0;
}

/* ── ICE PAGE SHELL ──────────────────────────────────────── */

.ice-page {
  font-family: "DM Sans", sans-serif;
  background: #f4f7fb;
  min-height: 100vh;
  padding: 2rem;
  color: #1a2236;
}

/* ── PAGE HEADER ─────────────────────────────────────────── */

.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #dde4ef;
}

.page-header .brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-header .brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.page-header h1 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
  color: #1a2236;
}

.page-header .subtitle {
  font-size: 0.8rem;
  color: #6b7a99;
  margin: 0;
  font-weight: 400;
}

.sample-badge {
  background: #fef3c7;
  color: #b45309;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid #fde68a;
}

/* ── SECTION CARDS ───────────────────────────────────────── */

.section-card {
  background: #ffffff;
  border: 1px solid #e2e8f4;
  border-radius: 14px;
  margin-bottom: 1.75rem;
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(26, 34, 54, 0.06),
    0 4px 16px rgba(26, 34, 54, 0.04);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e8eef8;
  background: #fafbfd;
}

.section-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3b5080;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 14px;
  background: #2563eb;
  border-radius: 2px;
}

.section-body {
  padding: 1.5rem;
}

/* ── DATE INPUT ──────────────────────────────────────────── */

.date-input {
  font-family: "DM Mono", monospace;
  font-size: 0.82rem;
  border: 1px solid #dde4ef;
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  color: #3b5080;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
}

.date-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ── TABLES ──────────────────────────────────────────────── */

.ice-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.82rem;
}

.ice-table th {
  background: #eef2fb;
  color: #3b5080;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid #d5ddef;
  text-align: center;
  white-space: nowrap;
}

.ice-table th.sub-header {
  background: #f0f5ff;
  color: #4b6aaa;
  font-size: 0.7rem;
}

.ice-table th .th-sub {
  display: block;
  font-weight: 400;
  font-size: 0.68rem;
  text-transform: none;
  letter-spacing: 0;
  color: #7a90bb;
  margin-top: 0.2rem;
}

.ice-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid #f0f3f9;
  text-align: center;
  color: #2d3a55;
  font-family: "DM Mono", monospace;
  font-size: 0.8rem;
  vertical-align: middle;
}

.ice-table tbody tr:last-child td {
  border-bottom: none;
}

.ice-table tbody tr:hover td {
  background: #f7f9ff;
}

/* ── STATUS BADGES ───────────────────────────────────────── */

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0.02em;
}

.status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-delivered {
  background: #ecfdf5 !important;
  color: #065f46 !important;
  border: 1px solid #a7f3d0;
}

.status-delivered::before {
  background: #10b981 !important;
}

.status-delivered-late {
  background: #fff7ed !important;
  color: #9a3412 !important;
  border: 1px solid #fed7aa;
}

.status-delivered-late::before {
  background: #f97316 !important;
}

.status-ofd {
  background: #fffbeb !important;
  color: #92400e !important;
  border: 1px solid #fde68a;
}

.status-ofd::before {
  background: #f59e0b !important;
}

/* ── TIME CELL COLORS ────────────────────────────────────── */

.time-success {
  color: #059669 !important;
  font-weight: 500;
}

.time-warning {
  color: #d97706 !important;
  font-weight: 500;
}

.time-danger {
  color: #dc2626 !important;
  font-weight: 500;
}

/* ── AMOUNT CELL ─────────────────────────────────────────── */

.amount-cell {
  font-weight: 600;
  color: #1a2236;
}

/* ── TRIP TICKET FORM FIELDS ─────────────────────────────── */

.field-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.field-label {
  width: 130px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4b6aaa;
  flex-shrink: 0;
}

.field-input {
  font-family: "DM Mono", monospace;
  font-size: 0.82rem;
  border: 1px solid #dde4ef;
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  color: #1a2236;
  background: #fff;
  outline: none;
  min-width: 180px;
  transition: border-color 0.15s;
}

.field-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.field-input--short {
  min-width: 80px;
  max-width: 100px;
}

.field-unit {
  font-size: 0.78rem;
  color: #6b7a99;
}

.field-sub-label {
  font-size: 0.75rem;
  color: #6b7a99;
  font-weight: 500;
}

/* ── SUB-SECTION DIVIDER TITLE ───────────────────────────── */

.sub-section-title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3b5080;
  margin: 1.5rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sub-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f4;
}

/* ── GRAND TOTAL ROW ─────────────────────────────────────── */

.grand-total-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.85rem 1rem 0;
  gap: 0.75rem;
}

.grand-total-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #3b5080;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.grand-total-amount {
  font-family: "DM Mono", monospace;
  font-size: 1rem;
  font-weight: 600;
  color: #2563eb;
}

/* ── DENOMINATION CARD ───────────────────────────────────── */

.denom-card {
  max-width: 420px;
}

.denom-table td {
  text-align: center;
}

.denom-value {
  font-weight: 600;
  color: #1a2236;
}

.denom-null {
  color: #c4cde0;
}

/* ── FORM LAYOUT ─────────────────────────────────────────── */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin-bottom: 0.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #4b6aaa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.required {
  color: #dc2626;
}

.field-input--full {
  width: 100%;
  min-width: unset;
  box-sizing: border-box;
}

.field-select {
  appearance: auto;
}

/* ── FORM SECTION DIVIDERS ───────────────────────────────── */

.form-section-title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3b5080;
  margin: 1.5rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f4;
}

/* ── SAVE BUTTON ─────────────────────────────────────────── */

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.btn-save {
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 1.5rem;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}

.btn-save:hover {
  background: #1d4ed8;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

/* ── VALIDATION ──────────────────────────────────────────── */

.cust-validation-summary {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #b91c1c;
  font-size: 0.8rem;
  padding: 0.65rem 1rem;
  margin-bottom: 1rem;
}

.cust-validation-msg {
  font-size: 0.75rem;
  color: #dc2626;
  margin-top: 0.15rem;
}

/* ── EXPANDED ROW LABELS ─────────────────────────────────── */

.expand-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7a90bb;
  margin-bottom: 0.2rem;
}

.expand-value {
  font-family: "DM Mono", monospace;
  font-size: 0.8rem;
  color: #2d3a55;
}

/* ── PAGINATION ──────────────────────────────────────────── */

.page-btn {
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.65rem;
  border: 1px solid #dde4ef;
  border-radius: 7px;
  background: #fff;
  color: #3b5080;
  cursor: pointer;
  transition: all 0.15s;
}

.page-btn:hover:not(:disabled):not(.page-btn--disabled) {
  border-color: #2563eb;
  color: #2563eb;
}

.page-btn--active {
  background: #2563eb !important;
  color: #fff !important;
  border-color: #2563eb !important;
}

.page-btn--disabled,
.page-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ── ORDERS ──────────────────────────────────────────── */

.line-row--error td {
  background: #fff8f8;
}

.line-error-row td {
  padding: 0.15rem 0.75rem 0.5rem;
  background: #fff8f8;
  border-bottom: 1px solid #fca5a5;
}

.line-error-msg {
  font-size: 0.78rem;
  color: #dc2626;
  font-weight: 500;
}

.input--error {
  border-color: #dc2626 !important;
  background: #fff5f5 !important;
}

.form-error-banner {
  background: #fff5f5;
  border: 1.5px solid #fca5a5;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  color: #dc2626;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Order Lines Table */
.order-lines-table-wrap {
  overflow-x: auto;
  margin-bottom: 0.5rem;
}

.order-lines-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.order-lines-table thead tr {
  background: #f0f4ff;
}

.order-lines-table thead th {
  padding: 0.6rem 0.75rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4b5e8a;
  border-bottom: 2px solid #dce4f5;
  white-space: nowrap;
}

.order-lines-table tbody tr {
  border-bottom: 1px solid #e8edf8;
  transition: background 0.15s;
}

.order-lines-table tbody tr:hover {
  background: #f7f9ff;
}

.order-lines-table tbody td {
  padding: 0.5rem 0.75rem;
  color: #374151;
  vertical-align: middle;
}

.order-lines-table tfoot td {
  border-top: 2px solid #dce4f5;
  background: #f0f4ff;
}

.line-num {
  color: #9ca3af;
  font-weight: 600;
  width: 2rem;
  text-align: center;
}

.unit-cell,
.price-cell,
.total-cell {
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.total-cell {
  font-weight: 700;
  color: #1e3a5f;
}

.qty-input {
  width: 80px;
  text-align: right;
}

/* Buttons */
.btn-add-line {
  background: #e8f0fe;
  color: #2563eb;
  border: 1.5px solid #bfcfff;
  padding: 0.35rem 0.9rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}

.btn-add-line:hover {
  background: #d0e0ff;
  border-color: #2563eb;
}

.btn-remove-line {
  background: #fee2e2;
  color: #dc2626;
  border: 1.5px solid #fca5a5;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.btn-remove-line:hover {
  background: #fca5a5;
}

.btn-cancel {
  background: #f3f4f6;
  color: #6b7280;
  border: 1.5px solid #d1d5db;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-cancel:hover {
  background: #e5e7eb;
}

/* Empty state */
.empty-lines {
  background: #f7f9ff;
  border: 2px dashed #c7d6f0;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  color: #6b7a99;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Status badges */
.status-delivered {
  background: #d1fae5;
  color: #065f46;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}
