/* ==========================================================================
   ACRB CUSTOMER ACCOUNT PORTAL (SCOPED TO COMPONENTS - NO :ROOT, NO GRADIENTS)
   Location: assets/css/frontend/account.css
   ========================================================================== */

/* Scoped Variable Definitions & Token Fallbacks */
.acrb-acc-wrapper,
.acrb-auth-locked,
#acrb-receipt-modal {
  --acrb-portal-primary: #4f46e5;
  --acrb-portal-secondary: #64748b;
  --acrb-portal-text: #0f172a;
  --acrb-portal-accent: #059669;
  --acrb-portal-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --acrb-btn-bg: #4f46e5;
  --acrb-btn-hover: #4338ca;

  font-family: var(--acrb-portal-font, sans-serif);
  color: var(--acrb-portal-text, #0f172a);
  box-sizing: border-box;
}

.acrb-acc-wrapper *,
.acrb-acc-wrapper *::before,
.acrb-acc-wrapper *::after,
.acrb-auth-locked *,
.acrb-auth-locked *::before,
.acrb-auth-locked *::after,
#acrb-receipt-modal *,
#acrb-receipt-modal *::before,
#acrb-receipt-modal *::after {
  box-sizing: inherit;
}

/* Universal SVG Icon Standards */
.acrb-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   Auth Lock Screen (Logged Out State)
   -------------------------------------------------------------------------- */
.acrb-auth-locked {
  max-width: 520px;
  margin: 60px auto;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
}

.acrb-auth-locked-icon {
  width: 60px;
  height: 60px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: var(--acrb-portal-primary, #4f46e5);
}

.acrb-auth-locked-icon svg {
  width: 28px;
  height: 28px;
}

.acrb-auth-locked h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 10px 0;
  color: var(--acrb-portal-text, #0f172a);
}

.acrb-auth-locked p {
  color: var(--acrb-portal-secondary, #64748b);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.acrb-auth-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--acrb-btn-bg, #4f46e5);
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  transition: background-color 0.2s ease, transform 0.15s ease, opacity 0.15s ease;
}

.acrb-auth-btn-primary:hover {
  background: var(--acrb-btn-hover, #4338ca);
  transform: translateY(-1px);
  opacity: 0.94;
}

/* --------------------------------------------------------------------------
   Account Portal Wrapper Layout
   -------------------------------------------------------------------------- */
.acrb-acc-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 16px 60px 16px;
}

.acrb-acc-nav {
  width: 280px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
}

.acrb-nav-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
}

.acrb-nav-avatar img {
  border-radius: 50%;
  width: 46px;
  height: 46px;
  object-fit: cover;
  display: block;
}

.acrb-nav-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--acrb-portal-text, #0f172a);
}

.acrb-nav-info span {
  font-size: 0.78rem;
  color: var(--acrb-portal-secondary, #64748b);
}

#acrb-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#acrb-nav-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--acrb-portal-secondary, #64748b);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

#acrb-nav-list li a:hover {
  background: #f8fafc;
  color: var(--acrb-portal-primary, #4f46e5);
}

#acrb-nav-list li.active a {
  background: #eef2ff;
  color: var(--acrb-portal-primary, #4f46e5);
  border-left-color: var(--acrb-portal-primary, #4f46e5);
  font-weight: 700;
}

#acrb-nav-list li.acrb-nav-logout {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e2e8f0;
}

#acrb-nav-list li.acrb-nav-logout a {
  color: #dc2626 !important;
}

#acrb-nav-list li.acrb-nav-logout a:hover {
  background: #fef2f2 !important;
}

/* --------------------------------------------------------------------------
   Main Content Panels
   -------------------------------------------------------------------------- */
.acrb-acc-content {
  flex: 1;
  min-width: 0;
}

.acrb-tab-panel {
  display: none;
}

.acrb-tab-panel.active {
  display: block;
  animation: acrbFade 0.25s ease;
}

@keyframes acrbFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.acrb-panel-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
  color: var(--acrb-portal-text, #0f172a);
}

.acrb-dash-header {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--acrb-portal-primary, #4f46e5);
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.03);
}

.acrb-dash-header h2 {
  font-size: 1.55rem;
  font-weight: 800;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
  color: var(--acrb-portal-text, #0f172a);
}

.acrb-dash-header p {
  color: var(--acrb-portal-secondary, #64748b);
  margin: 0;
  font-size: 0.92rem;
}

.acrb-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.acrb-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.acrb-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef2ff;
  color: var(--acrb-portal-primary, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.acrb-stat-val {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--acrb-portal-text, #0f172a);
  line-height: 1.1;
  margin-bottom: 4px;
}

.acrb-stat-label {
  font-size: 0.8rem;
  color: var(--acrb-portal-secondary, #64748b);
  font-weight: 600;
}

.acrb-promo-banner {
  background: var(--acrb-portal-text, #0f172a);
  color: #ffffff;
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.acrb-promo-content h3 {
  margin: 0 0 6px 0;
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 800;
}

.acrb-promo-content p {
  margin: 0;
  font-size: 0.85rem;
  color: #94a3b8;
}

.acrb-btn-white {
  background: #ffffff;
  color: #0f172a !important;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}

.acrb-btn-white:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Bookings & Rental History List
   -------------------------------------------------------------------------- */
.acrb-booking-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.acrb-booking-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 20px -4px rgba(15, 23, 42, 0.06);
}

.acrb-card-main {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.acrb-car-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--acrb-portal-primary, #4f46e5);
  flex-shrink: 0;
}

.acrb-booking-details {
  flex: 1;
  min-width: 0;
}

.acrb-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.acrb-car-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--acrb-portal-text, #0f172a);
}

.acrb-status-pill {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: capitalize;
  display: inline-block;
}

.status-confirmed,
.status-completed,
.status-active {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #a7f3d0;
}

.status-pending {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.status-cancelled {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.acrb-card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--acrb-portal-secondary, #64748b);
  flex-wrap: wrap;
}

.acrb-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.acrb-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
}

.acrb-price-box {
  display: flex;
  flex-direction: column;
}

.acrb-price-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--acrb-portal-secondary, #64748b);
  font-weight: 700;
}

.acrb-price-amount {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--acrb-portal-accent, #059669);
}

button.acrb-btn-outline,
.acrb-btn-outline {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--acrb-portal-text, #0f172a);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: inherit;
}

button.acrb-btn-outline:hover,
.acrb-btn-outline:hover {
  border-color: var(--acrb-portal-primary, #4f46e5);
  color: var(--acrb-portal-primary, #4f46e5);
  background: #f8fafc;
}

.acrb-empty-box {
  text-align: center;
  padding: 48px 20px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  color: var(--acrb-portal-secondary, #64748b);
}

.acrb-empty-box .acrb-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  color: #cbd5e1;
}

.acrb-empty-box p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Settings Forms & Controls
   -------------------------------------------------------------------------- */
.acrb-settings-form {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.acrb-form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.acrb-form-group {
  flex: 1;
}

.acrb-form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
  margin-bottom: 6px;
}

.acrb-input,
.acrb-textarea {
  width: 100% !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 0 14px !important;
  font-size: 13.5px !important;
  color: var(--acrb-portal-text, #0f172a) !important;
  background: #f8fafc !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02) !important;
  transition: border-color 0.15s ease, background-color 0.15s ease !important;
  font-family: inherit !important;
}

.acrb-input {
  height: 42px !important;
  line-height: 40px !important;
}

.acrb-textarea {
  padding: 12px 14px !important;
  height: auto !important;
  resize: vertical;
}

.acrb-input:hover,
.acrb-textarea:hover {
  border-color: #94a3b8 !important;
  background: #ffffff !important;
}

.acrb-input:focus,
.acrb-textarea:focus {
  background: #ffffff !important;
  border-color: var(--acrb-portal-primary, #4f46e5) !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
  outline: none !important;
}

.acrb-readonly {
  background: #f1f5f9 !important;
  color: var(--acrb-portal-secondary, #64748b) !important;
  cursor: not-allowed !important;
  border-color: #e2e8f0 !important;
}

button.acrb-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--acrb-btn-bg, #4f46e5) !important;
  color: #ffffff !important;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  transition: background-color 0.2s ease, transform 0.15s ease;
  font-family: inherit;
}

button.acrb-btn-submit:hover {
  background: var(--acrb-btn-hover, #4338ca) !important;
  transform: translateY(-1px);
}

.acrb-submit-icon {
  width: 16px;
  height: 16px;
}

/* Alerts */
.acrb-alert {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  font-weight: 600;
}

.acrb-alert.success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

.acrb-alert.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

/* --------------------------------------------------------------------------
   Password Strength & Real-Time Confirmation
   -------------------------------------------------------------------------- */
.acrb-password-meter-wrap {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.acrb-password-meter-bar {
  width: 100%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.acrb-password-meter-fill {
  height: 100%;
  width: 0%;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.acrb-password-meter-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
}

.acrb-field-feedback {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  margin-top: 5px;
  font-weight: 500;
}

.acrb-field-feedback.is-match {
  color: #059669;
}

.acrb-field-feedback.is-mismatch {
  color: #dc2626;
}

.acrb-field-feedback svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.acrb-input.match-valid {
  border-color: #059669 !important;
  background-color: #f0fdf4 !important;
}

.acrb-input.match-invalid {
  border-color: #dc2626 !important;
  background-color: #fef2f2 !important;
}

/* --------------------------------------------------------------------------
   Receipt & Invoice Modal
   -------------------------------------------------------------------------- */
.acrb-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(4px);
  z-index: 999999 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  padding: 24px 14px !important;
  box-sizing: border-box !important;
  display: none;
}

.acrb-modal-content {
  position: relative !important;
  background: #ffffff !important;
  border-radius: 14px !important;
  max-width: 640px !important;
  width: 100% !important;
  margin: 20px auto !important;
  padding: 24px 26px !important;
  box-sizing: border-box !important;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25) !important;
  border: 1px solid #e2e8f0;
}

.acrb-modal-close {
  position: absolute !important;
  top: 16px !important;
  right: 18px !important;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  color: #94a3b8;
  transition: color 0.15s ease;
  z-index: 5;
}

.acrb-modal-close:hover {
  color: #0f172a;
}

.acrb-receipt-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.acrb-receipt-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #eef2ff;
  color: var(--acrb-portal-primary, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.acrb-receipt-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.acrb-receipt-title-wrap h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--acrb-portal-text, #0f172a);
}

.acrb-m-id {
  font-size: 0.8rem;
  color: var(--acrb-portal-secondary, #64748b);
  font-weight: 700;
}

.acrb-receipt-meta-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 14px 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.acrb-receipt-meta-box .acrb-r-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.acrb-label {
  color: #64748b;
  font-weight: 500;
}

.acrb-val {
  color: #0f172a;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.acrb-payment-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: #e2e8f0;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Schedule Card */
.acrb-schedule-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.acrb-schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.acrb-schedule-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.acrb-duration-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  border: 1px solid #dbeafe;
}

.acrb-window-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.acrb-window-point {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.acrb-point-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
}

.acrb-point-badge.pickup {
  background: #dcfce7;
  color: #15803d;
}

.acrb-point-badge.return {
  background: #fee2e2;
  color: #b91c1c;
}

.acrb-point-date {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
}

.acrb-point-loc {
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}

.acrb-window-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.acrb-window-arrow svg {
  width: 22px;
  height: 22px;
}

/* Itemized Fee Breakdown */
.acrb-breakdown-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.acrb-section-subheading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin: 0 0 10px 0;
  font-weight: 700;
}

.acrb-fee-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.acrb-fee-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 0.875rem;
}

.acrb-fee-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.acrb-fee-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.acrb-fee-title {
  font-weight: 600;
  color: #0f172a;
}

.acrb-fee-sub {
  font-size: 0.75rem;
  color: #64748b;
}

.acrb-fee-amount {
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.acrb-fee-discount,
.acrb-fee-discount .acrb-fee-title {
  color: #059669 !important;
}

.acrb-badge-tag {
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  margin-left: 6px;
}

/* Settled Amount Box */
.acrb-settled-box {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  margin-bottom: 18px;
}

.acrb-settled-info strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
  font-weight: 700;
}

.acrb-settled-info small {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 2px;
}

.acrb-settled-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--acrb-portal-primary, #4f46e5);
  letter-spacing: -0.02em;
}

button.acrb-btn-print {
  width: 100%;
  height: 44px;
  background: var(--acrb-btn-bg, #4f46e5);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s ease;
  font-family: inherit;
}

button.acrb-btn-print:hover {
  background: var(--acrb-btn-hover, #4338ca);
}

/* --------------------------------------------------------------------------
   Responsive & Print Rules
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .acrb-acc-wrapper {
    flex-direction: column;
  }
  .acrb-acc-nav {
    width: 100%;
  }
  .acrb-stats-grid {
    grid-template-columns: 1fr;
  }
  .acrb-promo-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .acrb-form-row {
    flex-direction: column;
    gap: 12px;
  }
  .acrb-window-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .acrb-window-arrow {
    transform: rotate(90deg);
    margin: 4px 0;
  }
}

@media print {
  body * {
    visibility: hidden;
  }
  #acrb-receipt-modal,
  #acrb-receipt-modal * {
    visibility: visible;
  }
  #acrb-receipt-modal {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: auto !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    padding: 0 !important;
  }
  .acrb-modal-content {
    box-shadow: none !important;
    border: 1px solid #cbd5e1 !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 20px !important;
  }
  .acrb-modal-close,
  .acrb-btn-print {
    display: none !important;
  }
}