/* RubanExpress - Platform-specific component styles */

/* ── Utility classes (not in admin.css/frontend.css) ── */
.fw-600    { font-weight: 600 !important; }
.fw-700    { font-weight: 700 !important; }
.font-mono { font-family: 'Courier New', monospace; font-size: .85em; }
.text-accent { color: var(--accent) !important; }

/* ── Status badges ── */
.status-badge {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .75rem; font-weight: 700; padding: .25rem .7rem;
    border-radius: 50px; white-space: nowrap;
}
.status-pending          { background: #f3f4f6; color: #374151; }
.status-assigned         { background: #dbeafe; color: #1e40af; }
.status-accepted         { background: #fef3c7; color: #92400e; }
.status-picked           { background: #fef3c7; color: #b45309; }
.status-out_for_delivery { background: #fffbeb; color: #d97706; }
.status-delivered        { background: #dcfce7; color: #166534; }
.status-failed           { background: #fee2e2; color: #991b1b; }
.status-cancelled        { background: #f3f4f6; color: #6b7280; }

/* ── Order timeline ── */
.order-timeline { position: relative; padding-left: 2rem; }
.order-timeline::before {
    content: ''; position: absolute; left: .65rem; top: 0; bottom: 0;
    width: 2px; background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 1.5rem; }
.timeline-dot {
    position: absolute; left: -1.65rem; top: .25rem;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--border); border: 2px solid var(--white);
}
.timeline-dot.active { background: var(--primary); }
.timeline-dot.done   { background: var(--success); }
.timeline-time { font-size: .75rem; color: var(--text-muted); }
.timeline-label { font-weight: 600; color: var(--accent); font-size: .9rem; }

/* ── KPI cards (express accent) ── */
.kpi-card { background: var(--white); border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-sm); border-left: 4px solid var(--primary); }
.kpi-card.accent { border-left-color: var(--accent); }
.kpi-card.success { border-left-color: var(--success); }
.kpi-card.danger  { border-left-color: var(--danger); }
.kpi-lbl { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: .4rem; }
.kpi-val { font-size: 2rem; font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: .25rem; }
.kpi-sub { font-size: .8rem; color: var(--text-muted); }

/* ── COD badge ── */
.cod-badge { background: #fee2e2; color: #991b1b; font-size: .72rem; font-weight: 800; padding: .15rem .5rem; border-radius: 4px; text-transform: uppercase; letter-spacing: .5px; }

/* ── Rider availability toggle ── */
.availability-toggle-wrap { text-align: center; padding: 1.5rem; }
.availability-toggle {
    position: relative; display: inline-block; width: 80px; height: 40px;
}
.availability-toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute; inset: 0; cursor: pointer;
    background: #d1d5db; border-radius: 40px; transition: .3s;
}
.toggle-slider::before {
    content: ''; position: absolute;
    width: 32px; height: 32px; left: 4px; bottom: 4px;
    background: white; border-radius: 50%; transition: .3s;
}
input:checked + .toggle-slider { background: var(--success); }
input:checked + .toggle-slider::before { transform: translateX(40px); }
.toggle-label { font-weight: 700; font-size: 1rem; margin-top: .5rem; color: var(--accent); }

/* ── Rider PWA bottom nav ── */
.rider-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--white); border-top: 1px solid var(--border);
    display: flex; z-index: 1000; padding-bottom: env(safe-area-inset-bottom);
}
.rider-nav-item {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: .6rem .5rem; text-decoration: none;
    color: var(--text-muted); font-size: .7rem; font-weight: 600;
    transition: color .2s;
}
.rider-nav-item i { font-size: 1.4rem; margin-bottom: .15rem; }
.rider-nav-item.active { color: var(--primary); }

/* ── Assignment card (rider) ── */
.assignment-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 1rem 1.2rem;
    margin-bottom: .75rem; box-shadow: var(--shadow-sm);
}
.assignment-card.cod-order { border-left: 4px solid var(--danger); }
.addr-row { display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .4rem; font-size: .88rem; }
.addr-dot-pickup  { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); flex-shrink: 0; margin-top: .35rem; }
.addr-dot-drop    { width: 10px; height: 10px; border-radius: 3px; background: var(--accent); flex-shrink: 0; margin-top: .35rem; }

/* ── Step tracker ── */
.step-tracker { display: flex; align-items: center; margin: 1.5rem 0; }
.step-tracker-item { flex: 1; text-align: center; position: relative; }
.step-tracker-item:not(:last-child)::after {
    content: ''; position: absolute;
    top: 14px; left: 55%; right: -50%;
    height: 2px; background: var(--border); z-index: 0;
}
.step-tracker-item.done::after  { background: var(--primary); }
.step-dot {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--border); color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 700; margin: 0 auto .4rem;
    position: relative; z-index: 1;
}
.step-tracker-item.done   .step-dot { background: var(--primary); color: var(--accent); }
.step-tracker-item.active .step-dot { background: var(--accent); color: var(--white); box-shadow: 0 0 0 4px rgba(230,152,41,.25); }
.step-label { font-size: .68rem; font-weight: 600; color: var(--text-muted); line-height: 1.3; }
.step-tracker-item.done   .step-label { color: var(--primary-text); }
.step-tracker-item.active .step-label { color: var(--accent); font-weight: 700; }

/* ── Customer tracking page ── */
.tracking-hero { background: var(--accent); padding: 2rem 0; color: #fff; }
.tracking-order-id { font-size: 1.4rem; font-weight: 900; color: var(--primary); }
.tracking-merchant  { font-size: .9rem; color: rgba(255,255,255,.75); }
.tracking-eta       { font-size: .88rem; color: rgba(255,255,255,.65); }

/* ── Feature gate prompt ── */
.upgrade-prompt {
    background: var(--primary-light); border: 1px solid var(--primary);
    border-radius: var(--radius-md); padding: 1.5rem; text-align: center;
}
.upgrade-prompt h5 { color: var(--accent); font-weight: 700; }
.upgrade-prompt p  { color: var(--text-muted); font-size: .9rem; }

/* ── Wallet balance display ── */
.wallet-balance-chip {
    background: var(--primary-light); color: var(--primary-text);
    border-radius: 50px; padding: .3rem .9rem;
    font-weight: 700; font-size: .88rem; display: inline-flex;
    align-items: center; gap: .35rem;
}
.wallet-balance-chip.low { background: #fee2e2; color: #991b1b; }

/* ── Admin table actions ── */
.admin-table td { vertical-align: middle; }
.btn-ma-primary  { background: var(--primary); color: var(--accent); border: none; border-radius: 8px; font-weight: 700; padding: .4rem .9rem; font-size: .82rem; transition: var(--transition); }
.btn-ma-primary:hover { background: var(--primary-dark); color: var(--accent); }
.btn-ma-outline  { background: transparent; color: var(--accent); border: 1.5px solid var(--border); border-radius: 8px; font-weight: 600; padding: .4rem .9rem; font-size: .82rem; transition: var(--transition); }
.btn-ma-outline:hover { border-color: var(--primary); color: var(--primary-text); }
.btn-ma-danger   { background: #fee2e2; color: #991b1b; border: none; border-radius: 8px; font-weight: 700; padding: .4rem .9rem; font-size: .82rem; transition: var(--transition); }
.btn-ma-danger:hover { background: #fecaca; }

/* ── Trial banner ── */
.trial-banner {
    background: linear-gradient(90deg, var(--primary-light), #fffbeb);
    border: 1px solid var(--primary); border-radius: var(--radius-md);
    padding: .75rem 1rem; display: flex; align-items: center;
    gap: .75rem; margin-bottom: 1.5rem;
}
.trial-banner i   { color: var(--primary); font-size: 1.2rem; }
.trial-banner p   { margin: 0; font-size: .88rem; color: var(--accent); }
.trial-banner strong { font-weight: 700; }

/* ═══════════════════════════════════════════════════════════
   EXPRESS PUBLIC PAGES (landing, pricing, about, contact)
   ═══════════════════════════════════════════════════════════ */

/* ── Colour helpers ── */
.text-amber      { color: var(--primary) !important; } /* for dark/navy backgrounds (heroes) */
/* WCAG-safe amber for text on light/white backgrounds (falls back to brand amber if --primary-text is absent) */
.text-amber-dark { color: var(--primary-text, #9a5a00) !important; }
.bg-amber        { background: var(--primary) !important; }
.text-white-70   { color: rgba(255,255,255,.70); }
.max-width-600   { max-width: 600px; }

/* ── Section spacing ── */
.section-pad     { padding: 5rem 0; }

/* ── Hero section ── */
.hero-section {
    background: var(--accent);
    padding: 5rem 0 4rem;
    min-height: 520px;
    display: flex; align-items: center;
}
.hero-subtitle {
    font-size: 1.1rem; color: rgba(255,255,255,.82);
    line-height: 1.7; max-width: 540px;
}
.hero-trust { font-size: .88rem; color: rgba(255,255,255,.7); }
.hero-illustration {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg); padding: 1.5rem;
}
.hero-card-float {
    background: #fff; border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.hero-icon-box {
    width: 42px; height: 42px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.hero-stat-card {
    background: rgba(255,255,255,.08); border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,.12);
}
.hero-stat-number { font-size: 1.5rem; font-weight: 900; color: var(--primary); }

/* ── Feature cards (for/whom section) ── */
.feature-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); transition: var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-card--highlight { background: var(--accent); border-color: var(--accent); }
.feature-icon-wrap {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--primary-light); display: flex; align-items: center;
    justify-content: center; font-size: 1.8rem; color: var(--primary);
    margin: 0 auto;
}
.feature-icon-wrap--white { background: rgba(255,255,255,.15); color: var(--primary); }
.feature-title { font-size: 1.15rem; font-weight: 700; color: var(--accent); margin-bottom: .5rem; }
.feature-card--highlight .feature-title { color: #fff; }
.feature-desc { color: var(--text-muted); font-size: .92rem; line-height: 1.65; }
.feature-card--highlight .feature-desc { color: rgba(255,255,255,.78); }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { font-size: .88rem; color: var(--text-muted); padding: .25rem 0; }
.feature-card--highlight .feature-list li { color: rgba(255,255,255,.78); }
.btn-hero-custom { border-radius: 50px !important; padding: .6rem 1.5rem !important; }
.btn-hero-outline--light { border-color: rgba(255,255,255,.5); }
.btn-hero-outline--light:hover { background: rgba(255,255,255,.15); color: #fff; }

/* ── How it works steps ── */
.how-step { padding: 1rem; }
.how-step-number {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--accent); color: var(--primary);
    font-size: 1.2rem; font-weight: 900; display: flex;
    align-items: center; justify-content: center; margin: 0 auto 1rem;
    border: 3px solid var(--primary);
}
.how-step-icon { font-size: 2rem; color: var(--primary); margin-bottom: .75rem; }
.how-step-title { font-weight: 700; color: var(--accent); font-size: 1rem; margin-bottom: .4rem; }
.how-step-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* ── Price cards (landing + pricing page) ── */
.price-card {
    background: #fff; border: 1.5px solid var(--border);
    border-radius: var(--radius-lg); transition: var(--transition);
    position: relative;
}
.price-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.price-card--featured {
    background: var(--accent); border-color: var(--accent);
    color: #fff; box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.price-badge {
    background: var(--primary); color: var(--accent); font-size: .72rem;
    font-weight: 700; padding: .2rem .8rem; border-radius: 50px;
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    white-space: nowrap;
}
.price-tier { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); }
.price-card--featured .price-tier { color: rgba(255,255,255,.65); }
.price-amount { font-size: 1.9rem; font-weight: 900; color: var(--accent); line-height: 1; }
.price-card--featured .price-amount { color: var(--primary); }
.price-period { font-size: .85rem; font-weight: 500; color: var(--text-muted); }
.price-card--featured .price-period { color: rgba(255,255,255,.6); }
.price-deliveries { font-size: .83rem; }
.price-features { list-style: none; padding: 0; margin: 0; }
.price-features li { font-size: .87rem; color: var(--text-muted); padding: .35rem 0; }
.price-card--featured .price-features li { color: rgba(255,255,255,.78); }

/* ── Testimonials (light background variant) ── */
.testimonial-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.testimonial-stars { font-size: .9rem; }
.testimonial-text  { color: var(--text-muted); font-size: .95rem; line-height: 1.75; font-style: italic; }
.testimonial-author .fw-semibold { color: var(--accent); font-size: .92rem; }

/* ── CTA section ── */
.cta-section {
    background: var(--accent); padding: 5rem 0;
}
.cta-title    { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900; color: #fff; margin-bottom: .75rem; }
.cta-subtitle { font-size: 1.05rem; color: rgba(255,255,255,.75); margin-bottom: 0; }

/* ── Page hero (inner pages) ── */
.page-hero-section {
    background: var(--accent); padding: 3rem 0;
}
.page-hero-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900;
    color: #fff; margin-bottom: .5rem;
}
.page-hero-subtitle { color: rgba(255,255,255,.7); font-size: 1rem; margin: 0; }
.page-hero-section .breadcrumb-item,
.page-hero-section .breadcrumb-item a { color: rgba(255,255,255,.6); font-size: .85rem; }
.page-hero-section .breadcrumb-item.active { color: var(--primary); }
.page-hero-section .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ── About page ── */
.about-stat-card {
    background: var(--primary-light); border-radius: var(--radius-md);
    border: 1px solid rgba(230,152,41,.2);
}
.about-stat-num   { font-size: 1.9rem; font-weight: 900; color: var(--primary-text); line-height: 1.1; }
.about-stat-label { font-size: .8rem; color: var(--text-muted); margin-top: .3rem; }
.value-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-md); transition: var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); }
.value-icon { font-size: 2rem; color: var(--primary); }
.value-title { font-weight: 700; color: var(--accent); font-size: 1.1rem; margin-bottom: .5rem; }
.value-desc  { color: var(--text-muted); font-size: .92rem; line-height: 1.65; margin: 0; }

/* ── Contact page ── */
.contact-icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.contact-info-item a { color: var(--text-dark); text-decoration: none; font-size: .93rem; }
.contact-info-item a:hover { color: var(--primary-text); }

/* ── Legal pages ── */
.legal-content h2 {
    font-size: 1.2rem; font-weight: 700; color: var(--accent);
    margin: 2rem 0 .75rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1rem; font-weight: 600; color: var(--accent); margin: 1rem 0 .5rem; }
.legal-content p  { color: var(--text-muted); line-height: 1.75; font-size: .93rem; margin-bottom: .9rem; }
.legal-content ul { color: var(--text-muted); line-height: 1.75; font-size: .93rem; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li { margin-bottom: .35rem; }
.legal-content a  { color: var(--primary-text); }

/* ── 404 page ── */
.error-page-wrap { padding: 3rem 0; }
.error-code {
    font-size: 8rem; font-weight: 900; color: var(--primary-light);
    line-height: 1; text-align: center; letter-spacing: -4px;
    text-shadow: 0 2px 0 var(--border);
}
.badge-link {
    display: inline-flex; align-items: center; gap: .35rem;
    background: var(--accent-soft); color: var(--accent);
    font-size: .82rem; font-weight: 600; padding: .35rem .9rem;
    border-radius: 50px; text-decoration: none; transition: var(--transition);
}
.badge-link:hover { background: var(--primary-light); color: var(--primary-text); }

/* ── Pricing comparison table ── */
.pricing-table { border-radius: var(--radius-md); overflow: hidden; }
.pricing-table thead th {
    background: var(--accent); color: #fff; font-weight: 700;
    font-size: .85rem; padding: 1rem .75rem; border: none; vertical-align: middle;
}
.pricing-table thead th.feature-col { background: var(--accent); }
.pricing-table thead th.plan-highlight { background: var(--primary); color: var(--accent); }
.pricing-table tbody tr td { padding: .75rem; font-size: .88rem; vertical-align: middle; border-color: var(--border); }
.pricing-table tbody tr td.plan-highlight { background: rgba(230,152,41,.06); }
.pricing-table tbody tr:hover td { background: var(--bg); }
.pricing-table tbody tr:hover td.plan-highlight { background: rgba(230,152,41,.1); }
.pricing-table .table-section-head td {
    background: var(--accent-soft); color: var(--accent);
    font-weight: 700; font-size: .78rem; text-transform: uppercase;
    letter-spacing: 1.5px; padding: .5rem .75rem; border: none;
}
.feature-col { width: 32%; }

/* ── Alert amber ── */
.alert-amber {
    background: var(--primary-light); border: 1px solid rgba(230,152,41,.4);
    color: var(--primary-text); border-radius: var(--radius-md);
    padding: 1rem 1.5rem; font-size: .92rem;
}

/* ═══════════════════════════════════════════════════════════
   AUTH PAGES (register, login, forgot-password, reset, verify)
   ═══════════════════════════════════════════════════════════ */

.auth-section {
    min-height: calc(100vh - 72px);
    display: flex; align-items: center;
    background: var(--bg); padding: 3rem 1rem;
}
.auth-card {
    background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md); padding: 2.5rem;
    border: 1px solid var(--border);
}

/* ── Contained 2-column auth card (matches contact.php pattern) ── */
.auth-2col {
    max-width: 980px; width: 100%; margin: 0 auto;
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: var(--shadow-md); display: flex;
}
.auth-2col.auth-2col-wide { max-width: 1040px; }
.auth-left {
    width: 42%; flex-shrink: 0;
    background: var(--accent); color: #fff;
    padding: 2.75rem 2.5rem;
    display: flex; flex-direction: column; justify-content: center;
}
.auth-left .auth-brand {
    font-size: 1.5rem; font-weight: 800; letter-spacing: -.5px;
    color: #fff; text-decoration: none; display: inline-block;
}
.auth-left .auth-brand span { color: var(--primary); }
.auth-promo-tagline {
    font-size: 1.5rem; font-weight: 800; line-height: 1.3;
    margin: 1.5rem 0 .6rem; color: #fff;
}
.auth-promo-sub {
    font-size: .88rem; color: rgba(255,255,255,.7);
    margin-bottom: 1.5rem; line-height: 1.6;
}
.auth-promo-features { list-style: none; padding: 0; margin: 0; }
.auth-promo-features li {
    display: flex; align-items: center; gap: .6rem;
    padding: .55rem 0; font-size: .88rem;
    color: rgba(255,255,255,.88);
    border-top: 1px solid rgba(255,255,255,.1);
}
.auth-promo-features li:first-child { border-top: none; }
.auth-promo-features i { color: var(--primary); flex-shrink: 0; }
.auth-promo-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(230,152,41,.18); border: 1px solid rgba(230,152,41,.35);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.7rem; color: var(--primary); margin-bottom: .25rem;
}
.auth-promo-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    background: rgba(230,152,41,.18); border: 1px solid rgba(230,152,41,.35);
    color: var(--primary); font-size: .78rem; font-weight: 700;
    padding: .3rem .8rem; border-radius: 100px; margin-bottom: .25rem;
    align-self: flex-start;
}
.auth-right {
    flex: 1; background: #fff;
    padding: 2.75rem 2.5rem;
    display: flex; align-items: center; justify-content: center;
}
.auth-right-inner { width: 100%; max-width: 440px; margin: 0 auto; }
.auth-right-inner.auth-right-wide { max-width: 560px; }
@media (max-width: 991px) {
    .auth-section { padding: 1.5rem 1rem; }
    .auth-2col { flex-direction: column; }
    .auth-left {
        width: 100%; padding: 2rem 1.5rem;
        border-radius: 16px 16px 0 0;
    }
    .auth-right { padding: 2rem 1.5rem; }
}
@media (max-width: 480px) {
    .auth-left, .auth-right { padding: 1.5rem 1.25rem; }
}
.auth-logo {
    text-align: center; margin-bottom: 1.5rem;
    font-size: 1.6rem; font-weight: 800; letter-spacing: -.5px;
}
.auth-logo a { text-decoration: none; color: var(--accent); }
.auth-logo a span,
.auth-logo span { color: var(--primary); }
.auth-title {
    font-size: 1.5rem; font-weight: 800; color: var(--accent);
    margin-bottom: .4rem; text-align: center;
}
.auth-subtitle {
    color: var(--text-muted); font-size: .92rem;
    text-align: center; margin-bottom: 1.5rem;
}
.auth-divider {
    display: flex; align-items: center; gap: 1rem;
    margin: 1rem 0; color: var(--text-muted); font-size: .82rem;
}
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-switch { color: var(--text-muted); }
.auth-switch a { color: var(--primary-text); font-weight: 600; }
.auth-terms a  { color: var(--primary-text); }
.auth-verify-icon { font-size: 4rem; margin-bottom: 1rem; display: block; }

/* Google Sign-In button */
.btn-google-auth {
    display: flex; align-items: center; justify-content: center; gap: .75rem;
    background: #fff; border: 1.5px solid var(--border);
    border-radius: 50px; padding: .65rem 1.5rem;
    font-weight: 600; color: var(--accent); font-size: .95rem;
    text-decoration: none; transition: var(--transition);
    cursor: pointer;
}
.btn-google-auth:hover {
    border-color: #4285f4; color: var(--accent);
    box-shadow: 0 2px 8px rgba(66,133,244,.2);
}

/* ═══════════════════════════════════════════════════════════
   MERCHANT DASHBOARD + NOTIFICATION LIST
   ═══════════════════════════════════════════════════════════ */

/* ── In-app notification list ── */
.notif-list { }
.notif-item {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
    transition: background .15s;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--bg); }
.notif-unread { background: var(--primary-light); }
.notif-unread:hover { background: #ffecc5; }
.notif-icon {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--accent-soft); display: flex;
    align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0; margin-top: .1rem;
}
.notif-title  { font-size: .9rem; color: var(--text-dark); margin-bottom: .15rem; }
.notif-msg    { font-size: .83rem; line-height: 1.5; }
.notif-time   { margin-top: .25rem; }
.notif-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.notif-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--primary); display: inline-block;
}

/* ── Admin card small size variant ── */
.admin-card { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.section-header h4,
.section-header h5 { color: var(--accent); }

/* ── Dashboard quick action button size ── */
.btn-sm.btn-ma-primary,
.btn-sm.btn-ma-outline,
.btn-sm.btn-ma-danger {
    padding: .25rem .65rem; font-size: .78rem;
}

/* ═══════════════════════════════════════════════════════════
   ORDER PAGES (create, detail, list)
   ═══════════════════════════════════════════════════════════ */

/* ── Order detail key-value list ── */
.detail-dl { display: grid; grid-template-columns: 38% 1fr; gap: .4rem 1rem; margin: 0; }
.detail-dl dt { color: var(--text-muted); font-size: .83rem; font-weight: 500; align-self: start; padding-top: .1rem; }
.detail-dl dd { font-size: .88rem; color: var(--text-dark); margin: 0; font-weight: 500; }

/* ── Customer autocomplete dropdown ── */
.customer-suggestions {
    position: absolute; z-index: 1050; background: #fff;
    border: 1.5px solid var(--primary); border-radius: var(--radius-md);
    box-shadow: var(--shadow-md); display: none;
    max-height: 240px; overflow-y: auto; width: 100%; margin-top: .25rem;
}
.customer-suggestion-item {
    padding: .6rem 1rem; cursor: pointer; border-bottom: 1px solid var(--border);
    font-size: .88rem; transition: background .12s;
}
.customer-suggestion-item:last-child { border-bottom: none; }
.customer-suggestion-item:hover { background: var(--primary-light); }
