@import url("free-gst.css?v=20261102_v1");
:root {
    --primary: #004de7;
    --primary-hover: #003bbd;
    --primary-light: #eef4ff;
    --primary-border: #c7dbff;
    --sidebar-bg: #0b132b;
    --sidebar-hover: #162347;
    --sidebar-active: #004de7;
    --sidebar-text: #9ba3af;
    --sidebar-text-active: #ffffff;
    --bg-canvas: #f6f7fb;
    --card-bg: #ffffff;
    --text-primary: #111827;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --badge-new: #e11d48;
    --badge-warn: #f59e0b;
    --badge-danger: #ef4444;
    --badge-success: #10b981;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-canvas);
    color: var(--text-primary);
    min-height: 100vh;
    font-size: 14px;
    line-height: 1.45;
}

.seller-layout {
    display: flex;
    min-height: 100vh;
}

/* ========================================================
   1. LEFT SIDEBAR (MEESHO / ZIEPEE SUPPLIER HUB STYLE)
   ======================================================== */
.seller-sidebar {
    width: 250px;
    background: var(--sidebar-bg);
    color: #fff;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    scrollbar-width: thin;
    scrollbar-color: #374151 transparent;
}

.seller-sidebar::-webkit-scrollbar {
    width: 5px;
}

.seller-sidebar::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 4px;
}

/* Store profile header */
.sidebar-store-profile {
    padding: 18px 16px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.15s ease;
}

.sidebar-store-profile:hover {
    background: rgba(255, 255, 255, 0.04);
}

.store-profile-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.store-avatar img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.store-name-text {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.store-chevron {
    color: #9ba3af;
    font-size: 0.8rem;
}

/* Quick pills: Notices & Support */
.sidebar-pills-row {
    padding: 10px 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-pill-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d1d5db;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.sidebar-pill-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Nav Menu */
.sidebar-nav-container {
    padding: 10px 8px 30px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.sidebar-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    padding: 16px 12px 6px;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 7px 10px;
    border-radius: 6px;
    background: transparent;
    border: none;
    color: var(--sidebar-text);
    font-family: inherit;
    font-size: 0.70rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
}

.sidebar-nav-item:hover {
    background: var(--sidebar-hover);
    color: #ffffff;
}

.sidebar-nav-item.active {
    background: #004de7;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 77, 231, 0.35);
}

.nav-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-item-left i {
    width: 16px;
    font-size: 0.88rem;
    text-align: center;
    opacity: 0.9;
}

.nav-badge-pill {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.nav-badge-pill.new {
    background: var(--badge-new);
    color: #fff;
}

.nav-badge-pill.danger {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Submenu */
.sidebar-submenu {
    display: flex;
    flex-direction: column;
    padding-left: 28px;
    gap: 2px;
    margin: 3px 0;
}

.sidebar-subnav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 6px 10px;
    border-radius: 6px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-family: inherit;
    font-size: 0.70rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
}

.sidebar-subnav-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-subnav-item.active {
    color: #ffffff;
    font-weight: 700;
    background: rgba(0, 77, 231, 0.35);
    border-left: 3px solid var(--primary);
}

/* Bottom Supplier Hub Brand Credit */
.sidebar-bottom-branding {
    padding: 16px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    background: #0f1014;
}

.sidebar-bottom-branding img {
    height: 24px;
    object-fit: contain;
}

.sidebar-bottom-branding span {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.sidebar-bottom-branding span small {
    display: block;
    font-size: 0.68rem;
    color: #6b7280;
    font-weight: 500;
}

/* ========================================================
   2. MAIN CONTENT AREA
   ======================================================== */
.seller-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--bg-canvas);
}

/* Top Greeting Header */
.seller-welcome-header {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.welcome-text h1 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.welcome-text p {
    font-size: 0.70rem;
    font-weight: 500;
    color: var(--text-muted);
    margin: 2px 0 0 0;
}

/* Policy Alert Banner (Upcoming Next Day Dispatch) */
.policy-alert-strip {
    background: #fffbeb;
    border-bottom: 1px solid #fef3c7;
    padding: 11px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.84rem;
    color: #92400e;
}

.policy-alert-strip span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.policy-alert-strip a {
    color: #1e40af;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

/* Main Container Body */
.seller-body-container {
    padding: 24px 32px 48px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 1300px;
}

/* ========================================================
   3. DASHBOARD (HOME) SECTIONS
   ======================================================== */
/* To Do List Card */
.todo-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.todo-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.todo-header i {
    color: #6b7280;
}

.todo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.todo-item-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.15s ease;
}

.todo-item-box:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 77, 231, 0.08);
    transform: translateY(-2px);
}

.todo-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.todo-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.todo-icon-wrap.pending {
    background: #fef3c7;
    color: #b45309;
}

.todo-icon-wrap.labels {
    background: #e0e7ff;
    color: #4338ca;
}

.todo-icon-wrap.outofstock {
    background: #fee2e2;
    color: #b91c1c;
}

.todo-icon-wrap.lowstock {
    background: #ffedd5;
    color: #c2410c;
}

.todo-text-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 4px;
}

.todo-count-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Business Insights Card */
.insights-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.insights-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.insights-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 800;
}

.insights-title i {
    color: #6366f1;
}

.insights-period-tab {
    font-size: 0.82rem;
    font-weight: 700;
    color: #4338ca;
    background: #eef2ff;
    padding: 4px 12px;
    border-radius: 6px;
}

.insights-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 24px;
    align-items: center;
}

/* Interactive SVG Line Graph */
.insights-chart-wrap {
    width: 100%;
    position: relative;
    padding: 10px 0;
}

.insights-chart-svg {
    width: 100%;
    height: 190px;
    overflow: visible;
}

.insights-side-metrics {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.metric-pill-box {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 18px;
    background: #f9fafb;
}

.metric-label {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 4px;
}

.metric-number-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.metric-number {
    font-size: 1.35rem;
    font-weight: 800;
    color: #111827;
}

.metric-change-badge {
    font-size: 0.74rem;
    font-weight: 700;
    color: #ef4444;
}

.metric-change-badge.positive {
    color: #10b981;
}

.btn-view-details {
    background: #ffffff;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.84rem;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    align-self: flex-start;
}

.btn-view-details:hover {
    background: var(--primary);
    color: #ffffff;
}

/* Mega Blockbuster Sale Promo Card */
.mbs-promo-card {
    background: #2b1055;
    border-radius: 14px;
    padding: 24px;
    color: #ffffff;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    box-shadow: 0 10px 25px rgba(43, 16, 85, 0.25);
    background: linear-gradient(135deg, #1e0842 0%, #3b1277 100%);
    position: relative;
    overflow: hidden;
}

.mbs-badge-graphic {
    background: linear-gradient(135deg, #ff8c00 0%, #e52d27 100%);
    border: 3px solid #ffd700;
    border-radius: 12px;
    padding: 12px 18px;
    text-align: center;
    color: #fff;
    font-weight: 900;
    line-height: 1.1;
    box-shadow: 0 4px 14px rgba(229, 45, 39, 0.4);
}

.mbs-badge-graphic small {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mbs-badge-graphic span {
    font-size: 1.1rem;
    display: block;
    margin-top: 2px;
}

.mbs-text-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: #ffffff;
}

.mbs-text-content p {
    font-size: 0.88rem;
    color: #d8b4fe;
}

.btn-participate-sale {
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 77, 231, 0.4);
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-participate-sale:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* ========================================================
   4. MANAGE ORDERS SCREEN (ORDERS > MANAGE ORDERS)
   ======================================================== */
.orders-page-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.orders-title-wrap h1 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary);
}

.orders-top-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.learn-tutorial-link {
    color: #4b5563;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.learn-tutorial-link i {
    color: #ef4444;
}

.btn-download-orders {
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 9px 18px;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s ease;
}

.btn-download-orders:hover {
    background: var(--primary-hover);
}

/* Order Notices & Alerts Container */
.orders-alerts-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Alert 1: Label download retry card */
.order-alert-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.alert-left-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.parcel-box-icon {
    width: 48px;
    height: 48px;
    background: #fbf3e4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #b45309;
    flex-shrink: 0;
}

.alert-text-body h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.alert-text-body p {
    font-size: 0.82rem;
    color: #4b5563;
}

.alert-terms-note {
    font-size: 0.72rem;
    color: #9ca3af;
    align-self: flex-start;
}

/* Alert 2: Transparent Barcoded Packaging notice */
.packaging-alert-card {
    background: #fdf8f6;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.packaging-alert-text {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.86rem;
    color: #9a3412;
    font-weight: 600;
}

.packaging-buttons-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-outline-action {
    background: #ffffff;
    border: 1px solid #c2410c;
    color: #c2410c;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-outline-action:hover {
    background: #c2410c;
    color: #fff;
}

/* Alert 3: Dispatch Health */
.dispatch-health-card {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.health-left-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.health-speedo-icon {
    width: 44px;
    height: 44px;
    background: #dcfce7;
    color: #15803d;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.health-text h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #166534;
    margin-bottom: 2px;
}

.health-text p {
    font-size: 0.82rem;
    color: #15803d;
}

.btn-check-health {
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 8px 18px;
    border-radius: 7px;
    border: none;
    cursor: pointer;
}

/* Horizontal Status Navigation Tabs - Compact, Sleek Enterprise View */
.orders-tabs-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px 10px 0 0;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    border-bottom: 1px solid #edf2f7;
}

.order-tab-btn {
    background: transparent;
    border: none;
    padding: 10px 6px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.order-tab-btn:hover {
    color: #0f172a;
}

.order-tab-btn.active {
    color: #004de7;
    font-weight: 800;
}

.order-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background: #004de7;
    border-radius: 3px 3px 0 0;
}

.tab-count-badge {
    font-size: 0.70rem;
    padding: 1px 7px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 700;
}

.order-tab-btn.active .tab-count-badge {
    background: #eff6ff;
    color: #004de7;
    font-weight: 800;
}

/* Compact Filters & Search Strip */
.orders-filters-strip {
    background: #fafbfc;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.filters-left-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-label-group {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    margin-right: 4px;
}

.filter-select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.filter-dropdown-select {
    padding: 5px 10px;
    border-radius: 7px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: inherit;
    color: #1e293b;
    cursor: pointer;
    outline: none;
    height: 30px;
    transition: all 0.15s ease;
}

.filter-dropdown-select:hover, .filter-dropdown-select:focus {
    border-color: #004de7;
    box-shadow: 0 0 0 2px rgba(0, 77, 231, 0.08);
}

.filter-reset-btn {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #dc2626;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    transition: all 0.15s ease;
}

.filter-reset-btn:hover {
    background: #fca5a5;
    color: #991b1b;
}

.filters-right-search {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    height: 32px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.15s ease;
}

.filters-right-search:focus-within {
    border-color: #004de7;
    box-shadow: 0 0 0 3px rgba(0, 77, 231, 0.12);
}

.search-field-type {
    padding: 0 9px;
    height: 100%;
    border: none;
    border-right: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.74rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    outline: none;
    border-radius: 7px 0 0 7px;
}

.search-input-box {
    padding: 0 10px;
    height: 100%;
    border: none;
    font-size: 0.76rem;
    font-family: inherit;
    width: 210px;
    outline: none;
    color: #0f172a;
}

.search-icon-btn {
    padding: 0 10px;
    color: #64748b;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.search-icon-btn:hover {
    color: #004de7;
}

.btn-clear-search {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.btn-clear-search:hover {
    color: #ef4444;
}

/* Orders Cards & Container - Compact & High Density */
.orders-container-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 10px 12px;
}

.bulk-actions-strip {
    background: #eef4ff;
    border: 1px solid #c7dbff;
    border-radius: 7px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.bulk-actions-strip span {
    font-size: 0.80rem;
    font-weight: 700;
    color: var(--primary);
}

.orders-list-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-row-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.15s ease;
}

.order-row-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 2px 8px rgba(0, 77, 231, 0.05);
}

.order-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 6px;
    gap: 8px;
    flex-wrap: wrap;
}

.order-id-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-checkbox {
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: var(--primary);
}

.order-id-text {
    font-size: 0.84rem;
    font-weight: 800;
    color: #0f172a;
}

.order-date-text {
    font-size: 0.72rem;
    color: #64748b;
}

.sla-badge {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
    font-size: 0.70rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sla-badge.ready {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.sla-badge.shipped {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

.order-card-body {
    display: grid;
    grid-template-columns: 2.3fr 1.3fr 1fr auto;
    gap: 14px;
    align-items: center;
}

@media (max-width: 1024px) {
    .order-card-body {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

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

.order-product-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.order-thumb-img {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.product-details-wrap {
    min-width: 0;
}

.product-details-wrap h5 {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-sku-pill {
    font-size: 0.69rem;
    color: #64748b;
    font-family: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.customer-address-col h6,
.pricing-payout-col h6 {
    font-size: 0.66rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 2px;
}

.customer-address-col p {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.order-price-val {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.net-payout-val {
    font-size: 0.70rem;
    color: #059669;
    font-weight: 700;
    margin-top: 1px;
}

.order-actions-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
    flex-shrink: 0;
}

.btn-order-action-primary {
    background: #004de7;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.76rem;
    padding: 5px 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background 0.15s ease;
    white-space: nowrap;
}

.btn-order-action-primary:hover {
    background: #0036a7;
}

.btn-order-action-secondary {
    background: #ffffff;
    border: 1px solid #004de7;
    color: #004de7;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
}

.btn-order-action-secondary:hover {
    background: #eff6ff;
}

/* Empty State Illustration */
.empty-state-card {
    padding: 60px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-parcel-svg {
    width: 140px;
    height: 120px;
    margin-bottom: 16px;
    opacity: 0.85;
}

.empty-state-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
}

.empty-state-subtitle {
    font-size: 0.85rem;
    color: #9ca3af;
    max-width: 320px;
}

/* Thermal Shipping Label Modal */
.label-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.label-modal-box {
    background: #ffffff;
    border-radius: 12px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    padding: 24px;
}

.thermal-label-canvas {
    border: 2px dashed #000;
    padding: 16px;
    background: #fff;
    font-family: -apple-system, monospace;
    font-size: 11px;
    color: #000;
}

.thermal-header-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.barcode-strip {
    text-align: center;
    margin: 10px 0;
    font-size: 24px;
    letter-spacing: 5px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 6px 0;
}

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

    .order-card-body {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .order-actions-col {
        align-items: flex-start;
    }
}

/* ========================================================
   5. UPLOAD CATALOG & SUB-CATALOGING (MEESHO / ZIEPEE STYLE)
   ======================================================== */
.catalog-page-container {
    padding: 24px 32px 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1360px;
}

/* Product Optimizer Banner */
.product-optimizer-banner {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.optimizer-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.optimizer-icon-badge {
    width: 52px;
    height: 52px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #e53e3e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.optimizer-text h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 3px;
}

.optimizer-text p {
    font-size: 0.82rem;
    color: #4a5568;
}

.btn-optimizer-action {
    background: #312e81;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 9px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.btn-optimizer-action:hover {
    background: #1e1b4b;
}

/* Catalog Mode Buttons */
.catalog-options-box {
    margin-top: 4px;
}

.catalog-options-title {
    font-size: 0.82rem;
    color: #4b5563;
    font-weight: 600;
    margin-bottom: 10px;
}

.catalog-buttons-pair {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-catalog-primary {
    background: var(--primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 77, 231, 0.25);
    transition: all 0.15s ease;
}

.btn-catalog-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-catalog-outline {
    background: #ffffff;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.88rem;
    padding: 9px 22px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-catalog-outline:hover {
    background: var(--primary-light);
}

/* Catalog KPI Counters */
.catalog-kpi-row {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.cat-kpi-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cat-kpi-label {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 600;
}

.cat-kpi-val {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111827;
}

/* Upload Batches Table */
.qc-pill {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.qc-pill.error {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.qc-pill.pass {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.qc-pill.progress {
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
}

/* ========================================================
   6. SUB-CATALOGING DEEP DRILL-DOWN (LAST 2 PICTURES)
   ======================================================== */
.subcatalog-header-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.subcat-back-title {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.subcat-back-title h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #111827;
}

.subcat-back-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #374151;
    transition: all 0.15s ease;
}

.subcat-back-title:hover .subcat-back-arrow {
    background: var(--primary);
    color: #ffffff;
}

.subcat-search-section {
    padding: 20px 32px 14px;
    background: var(--bg-canvas);
}

.subcat-search-section label {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 8px;
}

.subcat-search-input-box {
    width: 100%;
    max-width: 520px;
    position: relative;
}

.subcat-search-input-box input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
    transition: all 0.15s ease;
}

.subcat-search-input-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 77, 231, 0.15);
}

.subcat-search-input-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Multi-Column Sub-Catalog Tree Container */
.subcatalog-columns-wrapper {
    display: flex;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    min-height: 520px;
    overflow-x: auto;
}

.subcat-col {
    width: 210px;
    flex-shrink: 0;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 580px;
    background: #ffffff;
}

.subcat-col-item {
    padding: 12px 16px;
    font-size: 0.84rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    border-bottom: 1px solid #f9fafb;
    transition: background 0.15s ease, color 0.15s ease;
    text-decoration: none;
}

.subcat-col-item:hover {
    background: #f8fafc;
    color: #111827;
}

.subcat-col-item.active {
    background: #312e81;
    color: #ffffff !important;
    font-weight: 700;
}

/* Right-pointing triangle arrow on selected category */
.subcat-col-item.active::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #312e81;
    z-index: 10;
}

/* Recent / Your Categories card layout in Column 2 */
.recent-cat-cards-list {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 300px;
    flex-shrink: 0;
    border-right: 1px solid #e5e7eb;
    background: #fcfcfd;
}

.recent-cat-card-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.recent-cat-card-box:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 77, 231, 0.08);
}

.recent-cat-card-box.selected {
    border-color: #6366f1;
    background: #eef2ff;
}

.recent-cat-thumb {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    object-fit: cover;
    background: #f1f5f9;
}

.recent-cat-info h5 {
    font-size: 0.86rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
}

.recent-cat-info span {
    font-size: 0.74rem;
    color: #6b7280;
}

/* Column 5: Right Preview & Upload Zone */
.subcat-preview-panel {
    flex: 1;
    min-width: 340px;
    padding: 24px 32px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-breadcrumb-badge {
    align-self: flex-start;
    font-size: 0.82rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 20px;
    padding: 6px 14px;
    background: #f3f4f6;
    border-radius: 20px;
}

.preview-sample-image-wrap {
    width: 240px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.preview-sample-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.template-upload-zone {
    width: 100%;
    max-width: 440px;
    border: 2px dashed #a5b4fc;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    background: #fdfdfe;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 16px;
}

.template-upload-zone:hover {
    border-color: var(--primary);
    background: #f0f4ff;
}

.upload-plus-icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #312e81;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 12px;
}

.template-prompt-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.template-prompt-sub {
    font-size: 0.78rem;
    color: #6b7280;
}

.btn-download-sample-template {
    background: #ffffff;
    border: 1.5px solid #312e81;
    color: #312e81;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 8px 18px;
    border-radius: 7px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
}

.btn-download-sample-template:hover {
    background: #312e81;
    color: #ffffff;
}

/* ========================================================
   7. INVENTORY SPLIT VIEW (PICTURE 2)
   ======================================================== */
.inventory-container {
    padding: 20px 32px 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.inventory-split-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    min-height: 520px;
}

.inv-catalog-sidebar {
    border-right: 1px solid var(--border-color);
    background: #fafafa;
    overflow-y: auto;
    max-height: 600px;
}

.inv-catalog-card {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    gap: 12px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.inv-catalog-card:hover {
    background: #f1f5f9;
}

.inv-catalog-card.active {
    background: #ffffff;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.inv-thumb-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
}

.inv-thumb-group img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inv-catalog-text h5 {
    font-size: 0.84rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2px;
    line-height: 1.25;
}

.inv-catalog-text span {
    font-size: 0.72rem;
    color: #6b7280;
    display: block;
}

.inv-variants-panel {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.inv-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.inv-stock-inline-edit {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 4px 8px;
    background: #ffffff;
    width: 100px;
}

.inv-stock-inline-edit input {
    width: 100%;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    outline: none;
    font-family: inherit;
}

/* ========================================================
   8. RETURN / RTO ORDERS (PICTURE 1)
   ======================================================== */
.returns-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.returns-card-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 18px 20px;
}

.returns-card-box h5 {
    font-size: 0.82rem;
    color: #6b7280;
    font-weight: 700;
    margin-bottom: 12px;
}

.returns-rate-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.returns-rate-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111827;
}

/* ========================================================
   9. SELLER AUTHENTICATION & PARTNER ONBOARDING (ZIEPEE)
   ======================================================== */

/* Fullpage Auth Layout */
.seller-auth-page {
    min-height: 100vh;
    background: radial-gradient(circle at 10% 20%, #031438 0%, #002c80 50%, #020b1e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    font-family: var(--font-sans);
}

/* Unified Shell to ensure Top Bar and Wizard Card have identical width */
.onboarding-page-shell {
    width: 100%;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0 auto;
    box-sizing: border-box;
}

.auth-nav-bar {
    width: 100%;
    max-width: 960px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

@media (max-width: 768px) {
    .auth-nav-bar {
        padding: 12px 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .auth-nav-logo {
        width: 100%;
        justify-content: flex-start;
    }
    .auth-nav-slogan {
        font-size: 0.84rem;
    }
    .auth-nav-links {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
    .auth-nav-helper-text {
        display: none !important;
    }
    .portal-nav-partner-btn,
    .auth-nav-btn {
        flex: 1 1 50%;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
        padding: 8px 10px !important;
        font-size: 0.78rem !important;
        box-sizing: border-box;
    }
    .onboarding-page-shell {
        padding: 0 4px;
        overflow-x: hidden;
    }
    .seller-auth-page {
        overflow-x: hidden;
        padding: 16px 8px;
    }
}

.auth-nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.auth-nav-logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.auth-nav-slogan {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
}

.auth-nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.auth-nav-link {
    font-size: 0.86rem;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    transition: color 0.15s ease;
}

.auth-nav-link:hover {
    color: var(--primary);
}

.auth-nav-btn {
    background: var(--primary);
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.auth-nav-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 77, 231, 0.3);
}

/* ========================================================
   ENTERPRISE SPLIT AUTH LAYOUT (Odoo / Al Moajil Style)
   ======================================================== */
.seller-auth-page.enterprise-split-auth {
    min-height: 100vh;
    width: 100vw;
    max-width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff;
    display: flex !important;
    flex-direction: row !important;
    overflow-x: hidden;
}

/* Left Hero Banner Side (Clean White Canvas) */
.ent-banner-side {
    flex: 1.25;
    min-width: 0;
    width: 55%;
    min-height: 100vh;
    background: #ffffff;
    color: #0f172a;
    padding: 44px 52px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    border-right: 1.5px solid #e2e8f0;
    box-sizing: border-box;
}

@media (max-width: 860px) {
    .seller-auth-page.enterprise-split-auth {
        flex-direction: column !important;
    }

    .ent-banner-side {
        width: 100% !important;
        min-height: auto !important;
        padding: 32px 24px !important;
    }

    .enterprise-hero-title {
        font-size: 2.1rem !important;
    }

    .ent-form-side {
        width: 100% !important;
        min-height: auto !important;
        padding: 32px 20px !important;
    }
}

/* Concentric Glow Background Arcs on Left White Canvas */
.ent-banner-side::after {
    content: '';
    position: absolute;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 77, 231, 0.05);
    bottom: -150px;
    left: -150px;
    pointer-events: none;
}

.ent-banner-side::before {
    content: '';
    position: absolute;
    width: 950px;
    height: 950px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 77, 231, 0.03);
    bottom: -300px;
    left: -300px;
    pointer-events: none;
}

/* Brand Header */
.enterprise-brand-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
    position: relative;
    z-index: 2;
}

.brand-logo-pill {
    background: #ffffff;
    padding: 8px 18px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    width: auto;
    max-width: 180px;
    height: 50px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.brand-logo-pill img {
    height: 34px !important;
    max-height: 34px !important;
    width: auto !important;
    max-width: 140px !important;
    object-fit: contain !important;
    display: block;
}

.brand-header-divider {
    width: 1.5px;
    height: 24px;
    background: #cbd5e1;
}

.brand-header-text {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #004de7;
    text-transform: uppercase;
}

/* Eyebrow & Hero Copy */
.enterprise-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #004de7;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

.eyebrow-line {
    width: 32px;
    height: 2.5px;
    background: #004de7;
    display: inline-block;
    border-radius: 2px;
}

.enterprise-hero-title {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

@media (max-width: 640px) {
    .enterprise-hero-title {
        font-size: 2.1rem;
    }
}

.enterprise-hero-desc {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.55;
    max-width: 520px;
    font-weight: 500;
    margin-bottom: 34px;
    position: relative;
    z-index: 2;
}

/* Product Categories Section (Reference Style: Trusted Global Brands) */
.enterprise-category-section-label {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

.category-label-rule {
    flex: 1;
    height: 1px;
    background: #e2e8f0;
    max-width: 140px;
}

.brand-carousel-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 28px;
    z-index: 2;
}

.brand-carousel-main {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.carousel-nav-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.80rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.carousel-nav-btn:hover {
    border-color: #004de7;
    color: #004de7;
    background: #eff6ff;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 77, 231, 0.18);
}

.carousel-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: 14px;
    padding: 4px 2px;
}

.carousel-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.carousel-slide-page {
    min-width: 100%;
    width: 100%;
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    box-sizing: border-box;
}

.carousel-pagination-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.carousel-dot-btn {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.carousel-dot-btn.active {
    background: #0056fb;
    transform: scale(1.3);
    box-shadow: 0 2px 6px rgba(0, 86, 251, 0.35);
}

.ent-category-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 10px;
    min-width: 124px;
    max-width: 124px;
    width: 124px;
    flex: 0 0 124px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all 0.22s ease;
    cursor: pointer;
    user-select: none;
    border: 1.5px solid #e2e8f0;
    box-sizing: border-box;
}

.ent-category-card:hover {
    background: #ffffff;
    border-color: #004de7;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 77, 231, 0.14);
}

.ent-cat-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #004de7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin: 0 auto 10px auto;
    border: 1px solid rgba(0, 77, 231, 0.12);
    box-shadow: 0 2px 8px rgba(0, 77, 231, 0.06);
    transition: all 0.25s ease;
}

.ent-category-card:hover .ent-cat-icon-badge {
    background: #004de7;
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 77, 231, 0.28);
}

.ent-cat-icon {
    font-size: 1.35rem;
    color: #004de7;
    margin-bottom: 8px;
    text-align: center;
}

.ent-cat-name {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 3px;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ent-cat-sub {
    font-size: 0.69rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.2;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Stats Row at Bottom */
.enterprise-stats-row {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 22px;
    border-top: 1.5px solid #e2e8f0;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.ent-stat-item {
    display: flex;
    flex-direction: column;
}

.ent-stat-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: #004de7;
    line-height: 1.1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.ent-stat-lbl {
    font-size: 0.80rem;
    font-weight: 600;
    color: #64748b;
}

/* Right Side: Vibrant Ziepee Blue Background with Elevated White Card */
.ent-form-side {
    flex: 1;
    min-width: 0;
    width: 45%;
    min-height: 100vh;
    background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 10% 85%, rgba(0, 30, 95, 0.38) 0%, transparent 50%),
        linear-gradient(135deg, #0056fb 0%, #004de7 50%, #002d94 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px 44px;
    box-sizing: border-box;
    overflow-y: auto;
    position: relative;
}

.ent-right-topbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    font-size: 0.86rem;
    color: #ffffff;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.ent-right-topbar strong {
    color: #ffffff;
    font-weight: 800;
}

.ent-nav-pill-btn {
    background: #ffffff;
    color: #004de7;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.84rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.ent-nav-pill-btn:hover {
    background: #eef4ff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

/* Centered White Card Container on Blue Background */
.ent-form-center-box {
    max-width: 430px;
    width: 100%;
    margin: auto;
    padding: 34px 32px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 20, 80, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 2;
}

.ent-eyebrow {
    font-size: 0.82rem;
    font-weight: 800;
    color: #004de7;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.ent-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
    letter-spacing: -0.025em;
}

.ent-sub {
    font-size: 0.92rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 22px;
}

/* Compact High-Contrast Protected Notice */
.auth-protected-notice {
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    color: #1e40af;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
}

.auth-protected-notice i {
    color: #004de7;
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* Segmented Auth Mode Tabs */
.auth-segmented-tabs {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 20px;
    gap: 4px;
    border: 1.5px solid #e2e8f0;
}

.auth-tab-btn {
    flex: 1;
    padding: 10px 14px;
    font-size: 0.90rem;
    font-weight: 800;
    color: #64748b;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    outline: none;
}

.auth-tab-btn.active {
    background: #004de7;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 77, 231, 0.28);
}

/* Form Groups & Inputs */
.auth-field-group {
    margin-bottom: 12px;
}

.auth-field-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.auth-input-icon {
    position: absolute;
    left: 12px;
    color: #64748b;
    font-size: 0.82rem;
    pointer-events: none;
}

.auth-input-field,
.auth-input-wrapper .portal-form-input {
    width: 100%;
    height: 40px;
    padding: 6px 11px 6px 36px;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    font-family: inherit;
    color: #0f172a;
    transition: all 0.18s ease;
    background: #ffffff;
    outline: none;
    box-sizing: border-box;
}

.auth-input-field:focus,
.auth-input-wrapper .portal-form-input:focus {
    border-color: #004de7;
    box-shadow: 0 0 0 3.5px rgba(0, 77, 231, 0.18);
}

.portal-form-input.has-error,
.auth-input-wrapper .portal-form-input.has-error,
.auth-input-field.has-error,
.gst-upload-trigger-box.has-error {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.22) !important;
}

/* Inline Form Validation & Duplicate Error Message Box */
.auth-field-error-box {
    margin-top: 6px;
    padding: 7px 11px;
    border-radius: 6px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.35;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    animation: fadeInError 0.2s ease-in-out;
}

.auth-field-error-box i {
    font-size: 0.82rem;
    margin-top: 2px;
    flex-shrink: 0;
    color: #ef4444;
}

.auth-field-error-box.duplicate-box {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
}

.auth-field-error-box.duplicate-box i {
    color: #ea580c;
}

.auth-error-box-title {
    display: block;
    font-weight: 800;
    font-size: 0.74rem;
    color: #7c2d12;
    margin-bottom: 1px;
}

@keyframes fadeInError {
    from { opacity: 0; transform: translateY(-3px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-input-action {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #004de7;
    font-size: 0.74rem;
    font-weight: 800;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 5px;
    transition: all 0.15s ease;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.auth-input-action:hover {
    background: #dbeafe;
}

.auth-input-action.active {
    background: #004de7 !important;
    border-color: #004de7 !important;
    color: #ffffff !important;
    cursor: pointer !important;
    box-shadow: 0 1px 3px rgba(0, 77, 231, 0.28) !important;
}

.auth-input-action.active:hover {
    background: #003dbb !important;
    border-color: #003dbb !important;
}

.auth-input-action.disabled,
.auth-input-action:disabled {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    opacity: 0.65 !important;
}

.auth-input-action.verified {
    background: #ecfdf5 !important;
    border-color: #a7f3d0 !important;
    color: #059669 !important;
    cursor: pointer !important;
    font-weight: 800 !important;
}

.auth-input-action.verified:hover {
    background: #d1fae5 !important;
    border-color: #6ee7b7 !important;
}

/* Primary Enterprise Log In Button (Ziepee Royal Blue Gradient) */
.btn-auth-enterprise {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #0056fb 0%, #004de7 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 12px;
    box-shadow: 0 6px 18px rgba(0, 77, 231, 0.35);
    outline: none;
}

.btn-auth-enterprise:hover {
    background: linear-gradient(135deg, #0049db 0%, #003bbd 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 77, 231, 0.45);
}


.ent-lock-notice {
    text-align: center;
    font-size: 0.82rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 12px 0 16px;
    font-weight: 600;
}

.ent-lock-notice i {
    color: #004de7;
}

.auth-form-footer {
    text-align: center;
    font-size: 0.88rem;
    color: #64748b;
    font-weight: 600;
}

.auth-form-footer a {
    color: #004de7;
    font-weight: 800;
    text-decoration: none;
    margin-left: 5px;
}

.auth-form-footer a:hover {
    text-decoration: underline;
}

/* ========================================================
   ONBOARDING: BECOME A PARTNER MULTI-STEP WIZARD
   ======================================================== */
.onboarding-wizard-container {
    width: 100%;
    max-width: 960px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

/* Stepper Header */
.onboarding-stepper-header {
    background: #f0f5ff;
    border-bottom: 2px solid #bfdbfe;
    padding: 12px 20px 10px;
}

.stepper-steps-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.stepper-progress-track {
    position: absolute;
    top: 14px;
    left: 36px;
    right: 36px;
    height: 4px;
    background: #dbeafe;
    border-radius: 9999px;
    z-index: 1;
}

.stepper-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #004de7 0%, #0284c7 70%, #00b4d8 100%);
    border-radius: 9999px;
    transition: width 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 77, 231, 0.3);
}

.stepper-step-node {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.stepper-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #64748b;
    font-weight: 800;
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3px;
    transition: all 0.2s ease;
}

.stepper-step-node.active .stepper-circle {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 77, 231, 0.2);
}

.stepper-step-node.completed .stepper-circle {
    border-color: #10b981;
    background: #10b981;
    color: #ffffff;
}

.stepper-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.stepper-step-node.active .stepper-label {
    color: var(--primary);
    font-weight: 800;
}

/* Wizard Content Body */
.onboarding-wizard-body {
    padding: 16px 22px;
}

.onboarding-step-head {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.onboarding-step-head h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 3px;
    letter-spacing: -0.01em;
}

.onboarding-step-head p {
    font-size: 0.76rem;
    color: #64748b;
    font-weight: 500;
}

.onboarding-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.brand-certificate-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
    align-items: start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-sizing: border-box;
}

.brand-certificate-options,
.brand-certificate-upload {
    min-width: 0;
    width: 100%;
}

.brand-certificate-radio-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brand-certificate-radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #f1f5f9;
    color: #334155;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    box-sizing: border-box;
}

.brand-certificate-radio-option.selected {
    border: 2px solid #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
}

.brand-certificate-radio-input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #2563eb;
    flex: 0 0 17px;
}

.brand-certificate-upload-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 8px 10px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #64748b;
    font-size: 0.84rem;
    text-align: center;
    box-sizing: border-box;
}

.brand-certificate-upload-placeholder i {
    color: #2563eb;
    font-size: 1.1rem;
}

.brand-certificate-upload .doc-file-preview-row {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.brand-certificate-upload .file-details {
    min-width: 0;
    overflow: hidden;
}

.brand-certificate-upload .file-replace-btn {
    flex-shrink: 0;
}

@media (max-width: 680px) {
    .onboarding-grid-2 {
        grid-template-columns: 1fr;
    }

    .brand-certificate-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }
}

/* Inline Verification Badge & Button */
.verify-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 800;
    margin-top: 8px;
}

.verify-status-badge.verified {
    background: #ecfdf5;
    color: #059669;
    border: 1.5px solid #a7f3d0;
}

.verify-status-badge.pending {
    background: #fffbeb;
    color: #d97706;
    border: 1.5px solid #fde68a;
}

/* Document Uploads & Compliance Section */
.compliance-section-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px;
    margin-top: 24px;
}

.compliance-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.compliance-section-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.compliance-badge-maxsize {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #0056fb;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.doc-upload-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.doc-upload-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 4px 14px rgba(0, 86, 251, 0.06);
}

.doc-upload-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.doc-card-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.doc-card-badge {
    font-size: 0.74rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
}

.doc-card-badge.pdf-only {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.doc-card-badge.img-pdf {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.doc-dropzone-box {
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    background: #f8fafc;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.doc-dropzone-box:hover {
    border-color: #0056fb;
    background: #eff6ff;
}

.doc-dropzone-icon {
    font-size: 1.5rem;
    color: #64748b;
    margin-bottom: 2px;
    transition: color 0.2s ease;
}

.doc-dropzone-box:hover .doc-dropzone-icon {
    color: #0056fb;
}

.doc-dropzone-title {
    font-size: 0.84rem;
    font-weight: 800;
    color: #0f172a;
}

.doc-dropzone-sub {
    font-size: 0.74rem;
    color: #64748b;
    font-weight: 600;
}

.doc-uploaded-pill {
    background: #f0fdf4;
    border: 1.5px solid #a7f3d0;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.doc-pill-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.doc-pill-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #dcfce7;
    color: #15803d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.doc-pill-icon.pdf-icon {
    background: #fee2e2;
    color: #dc2626;
}

.doc-pill-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.doc-pill-name {
    font-size: 0.84rem;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-pill-size {
    font-size: 0.74rem;
    color: #059669;
    font-weight: 700;
}

.doc-pill-remove-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #ef4444;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.doc-pill-remove-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}

.doc-error-banner {
    background: #fef2f2;
    border: 1.5px solid #fecaca;
    color: #991b1b;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    animation: fadeIn 0.2s ease;
}

/* Email OTP Modal Dialog */
.otp-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.otp-modal-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    width: 100%;
    max-width: 440px;
    padding: 28px 24px;
    box-sizing: border-box;
    position: relative;
    animation: scaleIn 0.22s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0.92);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.otp-modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.9rem;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.otp-modal-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Review Summary Cards */
.review-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.review-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
}

.review-box h5 {
    font-size: 0.76rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-line {
    font-size: 0.74rem;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.4;
}

.review-line strong {
    color: #64748b;
    font-weight: 700;
    margin-right: 6px;
}

/* Wizard Navigation Footer */
.onboarding-wizard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1.5px solid #e2e8f0;
}

.btn-wizard-back {
    background: #f1f5f9;
    color: #334155;
    border: 1.5px solid #cbd5e1;
    padding: 8px 18px;
    border-radius: 7px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-wizard-back:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-wizard-next {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 8px 22px;
    border-radius: 7px;
    font-size: 0.80rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 3px 10px rgba(0, 77, 231, 0.24);
}

.btn-wizard-next:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(0, 77, 231, 0.32);
}

/* Success Celebration Screen */
.onboarding-celebration-box {
    text-align: center;
    padding: 48px 24px;
}

.celebration-icon-circle {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #10b981;
    font-size: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 3.5px solid #a7f3d0;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
    animation: bounceIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.celebration-supplier-id-badge {
    background: #f1f5f9;
    border: 1.5px solid #cbd5e1;
    padding: 8px 20px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--primary);
    display: inline-block;
    margin: 16px 0 28px;
}


/* ========================================================
   ZIEPEE SUPPLIER PORTAL - FINAL MOCKUP DESIGN MATCH
   ======================================================== */
.seller-auth-page.enterprise-portal-login-screen {
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 1. Top Navigation Bar */
.portal-top-navbar {
    width: 100%;
    min-height: 84px;
    padding: 12px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 20;
    box-sizing: border-box;
}

.portal-navbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.portal-brand-logo-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.portal-nav-logo-img {
    height: 76px;
    max-height: 84px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.portal-nav-logo-img:hover {
    transform: scale(1.03);
}

.portal-bag-icon {
    width: 38px;
    height: 38px;
    background: #0056fb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.15rem;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 86, 251, 0.28);
}

.portal-bag-icon .bag-z {
    position: absolute;
    font-weight: 900;
    font-size: 0.95rem;
    color: #ffffff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.portal-brand-text-block {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-main-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0056fb;
    letter-spacing: -0.02em;
}

.brand-sub-slogan {
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.2px;
}

.portal-nav-divider {
    width: 1.5px;
    height: 24px;
    background: #cbd5e1;
}

.portal-nav-badge {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #0056fb;
    text-transform: uppercase;
}

.portal-navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.portal-nav-hotline {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s ease;
}

.portal-nav-hotline strong {
    font-weight: 800;
    color: #ffffff;
}

.portal-nav-hotline:hover {
    opacity: 0.88;
}

.portal-nav-partner-btn {
    background: #ffffff;
    color: #0056fb;
    padding: 9px 22px;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 0.86rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.portal-nav-partner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    background: #f8fafc;
}

/* 2. Background Wave */
.portal-bg-wave-layer {
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.portal-wave-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* 3. Main Stage */
.portal-main-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 48px 24px 48px;
    position: relative;
    z-index: 10;
    width: 100%;
    box-sizing: border-box;
    gap: 16px;
}

/* Stage Top Row: Left Hero + Center 3D Illustration + Right Login Card */
.portal-stage-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex: 1;
}

/* Left Hero Column */
.portal-hero-column {
    flex: 1.25;
    max-width: 580px;
    min-width: 320px;
    display: flex;
    flex-direction: column;
}

.portal-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.80rem;
    font-weight: 800;
    color: #0056fb;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.portal-eyebrow-dash {
    width: 24px;
    height: 3px;
    background: #0056fb;
    border-radius: 2px;
    display: inline-block;
}

.portal-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.14;
    color: #0f172a;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.portal-hero-title .text-highlight-blue {
    color: #0056fb;
}

.portal-hero-desc {
    font-size: 1.02rem;
    color: #475569;
    line-height: 1.55;
    max-width: 480px;
    font-weight: 500;
    margin-bottom: 24px;
}

/* 6 Feature Cards Grid Spanning Across Bottom */
.portal-features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    width: 100%;
    margin-top: auto;
    margin-bottom: 0;
    padding-top: 14px;
    position: relative;
    z-index: 10;
}

.portal-feature-card {
    background: #ffffff;
    border: 1.5px solid #eef2f6;
    border-radius: 14px;
    padding: 12px 10px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.22s ease;
    cursor: default;
    min-width: 0;
    position: relative;
}

.portal-card-badge-parent {
    position: relative;
    border-color: #fecdd3;
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.08);
}

.portal-card-badge-parent:hover {
    border-color: #ff2a5f !important;
}

.portal-card-badge-red {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff2a5f 0%, #e11d48 100%);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.38);
    white-space: nowrap;
    z-index: 15;
    letter-spacing: 0.2px;
    pointer-events: none;
    line-height: 1.2;
}

.portal-card-badge-red i {
    font-size: 0.65rem;
    color: #ffffff;
}

.portal-feature-card:hover {
    border-color: #0056fb;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 86, 251, 0.14);
}

.portal-feature-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #e0edff;
    color: #0056fb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.portal-feature-card:hover .portal-feature-icon-box {
    background: #0056fb;
    color: #ffffff;
}

.portal-feature-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.portal-feature-title {
    font-size: 0.80rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 3px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.portal-feature-sub {
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.25;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
}

/* Action Buttons Row */
.portal-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.portal-btn-primary {
    background: #0056fb;
    color: #ffffff;
    padding: 12px 26px;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 0.92rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(0, 86, 251, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.portal-btn-primary:hover {
    background: #0045d4;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 86, 251, 0.45);
}

.portal-btn-secondary {
    background: transparent;
    color: #0056fb;
    border: none;
    font-weight: 800;
    font-size: 0.92rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    transition: all 0.2s ease;
}

.portal-btn-secondary .play-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #0056fb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #0056fb;
    transition: all 0.2s ease;
}

.portal-btn-secondary:hover .play-icon-circle {
    background: #0056fb;
    color: #ffffff;
    transform: scale(1.08);
}

/* Floating Elevated Bottom Stats Pill */
.portal-bottom-stats-bar {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1.5px solid #eef2f6;
    padding: 16px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 0;
    margin-bottom: 0;
}

.stats-pill-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stats-pill-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #eff6ff;
    color: #0056fb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.stats-pill-content {
    display: flex;
    flex-direction: column;
}

.stats-pill-val {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 2px;
}

.stats-pill-lbl {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
}

.stats-pill-divider {
    width: 1px;
    height: 28px;
    background: #e2e8f0;
}

/* Center 3D Illustration - 4X Expanded */
.portal-center-illustration {
    flex: 1.8;
    max-width: clamp(540px, 45vw, 1280px);
    display: flex;
    align-items: flex-end;
    align-self: center;
    justify-content: center;
    position: relative;
    z-index: 5;
    margin: 0;
    margin-top: -36px;
    flex-shrink: 0;
}

.portal-3d-glow {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 580px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 77, 231, 0.4) 0%, rgba(0, 77, 231, 0.15) 50%, rgba(0, 0, 0, 0) 75%);
    pointer-events: none;
    filter: blur(14px);
    z-index: 1;
}

.portal-3d-hero-img {
    width: 100%;
    max-width: clamp(520px, 42vw, 1280px);
    height: auto;
    max-height: 72vh;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 2;
    -webkit-mask-image: linear-gradient(to bottom, #000000 0%, #000000 80%, rgba(0, 0, 0, 0.75) 90%, rgba(0, 0, 0, 0.15) 97%, transparent 100%) !important;
    mask-image: linear-gradient(to bottom, #000000 0%, #000000 80%, rgba(0, 0, 0, 0.75) 90%, rgba(0, 0, 0, 0.15) 97%, transparent 100%) !important;
    filter: drop-shadow(0 20px 40px rgba(0, 77, 231, 0.2));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-3d-hero-img:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Right Elevated White Card */
.portal-login-card-column {
    flex: 1;
    max-width: 460px;
    min-width: 340px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    align-self: center;
    position: relative;
    z-index: 10;
}

.portal-white-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 30, 110, 0.28);
    padding: 28px 24px 22px 24px;
    width: 100%;
    max-width: 450px;
    height: auto;
    box-sizing: border-box;
    position: relative;
}

.card-top-eyebrow {
    font-size: 14px;
    font-weight: 800;
    color: #0056fb;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.card-top-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 22px;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.card-top-sub {
    font-size: 0.90rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 20px;
}

.auth-notice-banner {
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    color: #1e40af;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logged-in-pill-banner {
    background: #eef4ff;
    border: 1.5px solid #bfdbfe;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.logged-in-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e3a8a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logged-in-sub {
    font-size: 0.75rem;
    color: #475569;
    margin-top: 3px;
}

.logged-in-actions {
    display: flex;
    gap: 8px;
}

.btn-open-dash {
    background: #0056fb;
    color: #ffffff;
    border: none;
    padding: 7px 14px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.82rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-logout {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 7px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
}

.portal-login-tabs {
    display: flex;
    gap: 8px;
    background: #f8fafc;
    padding: 4px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    margin-bottom: 20px;
}

.portal-tab-btn {
    flex: 1;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    border: none;
    background: transparent;
    border-radius: 9px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.18s ease;
}

.portal-tab-btn.active {
    background: #0056fb;
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(0, 86, 251, 0.28);
}

.portal-tab-content {
    width: 100%;
}

.portal-form-group {
    margin-bottom: 18px;
}

.portal-field-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.portal-email-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.portal-email-input-wrap .email-prefix-icon {
    position: absolute;
    left: 12px;
    font-size: 0.95rem;
    color: #0056fb;
    z-index: 2;
    pointer-events: none;
}

.portal-email-field {
    width: 100%;
    height: 50px;
    padding: 12px 86px 12px 36px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.portal-email-field:focus,
.portal-phone-field:focus,
.portal-standard-field:focus {
    border-color: #0056fb;
    box-shadow: 0 0 0 3px rgba(0, 86, 251, 0.12);
}

.portal-phone-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.portal-phone-input-wrap .phone-prefix {
    position: absolute;
    left: 14px;
    font-weight: 800;
    color: #1e293b;
    font-size: 0.92rem;
    z-index: 2;
}

.portal-phone-field {
    width: 100%;
    height: 50px;
    padding: 12px 105px 12px 52px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.96rem;
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.portal-phone-field:focus,
.portal-standard-field:focus {
    border-color: #0056fb;
    box-shadow: 0 0 0 3px rgba(0, 86, 251, 0.12);
}

.portal-send-otp-btn {
    position: absolute;
    right: 6px;
    background: #e0edff;
    border: 1px solid #bfdbfe;
    color: #0056fb;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
    padding: 6px 11px;
    border-radius: 7px;
    outline: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    z-index: 3;
}

.portal-send-otp-btn:hover {
    background: #0056fb;
    color: #ffffff;
}

.portal-otp-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.portal-otp-field {
    width: 100%;
    height: 50px;
    padding: 12px 105px 12px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #0f172a;
    background: #ffffff;
    outline: none;
    box-sizing: border-box;
}

.portal-autofill-btn {
    position: absolute;
    right: 8px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #0056fb;
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
    padding: 7px 14px;
    border-radius: 7px;
    outline: none;
}

.portal-standard-field {
    width: 100%;
    height: 50px;
    padding: 12px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
    outline: none;
    box-sizing: border-box;
}

.portal-fill-user-link,
.portal-reset-link {
    font-size: 14px;
    color: #0056fb;
    text-decoration: none;
    font-weight: 700;
}

.portal-pwd-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
}

.portal-submit-btn {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #0062ff 0%, #0056fb 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 12px;
    box-shadow: 0 6px 18px rgba(0, 86, 251, 0.35);
    outline: none;
    transition: all 0.2s ease;
}

.portal-submit-btn:hover {
    background: #0045d4;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 86, 251, 0.45);
}

.portal-lock-notice {
    text-align: center;
    font-size: 14px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 8px 0 0 0;
    font-weight: 600;
}

.portal-lock-notice i {
    color: #0056fb;
}

.portal-card-footer {
    text-align: center;
    font-size: 0.88rem;
    color: #64748b;
    font-weight: 600;
}

.portal-footer-link {
    color: #0056fb;
    font-weight: 800;
    text-decoration: none;
    margin-left: 5px;
}

.portal-footer-link:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .portal-main-stage {
        padding: 20px 20px 40px 20px;
        gap: 24px;
    }

    .portal-stage-row {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .portal-hero-column {
        max-width: 100%;
        text-align: center;
    }

    .portal-hero-actions {
        justify-content: center;
    }

    .portal-features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .portal-center-illustration {
        max-width: 260px;
        order: 2;
    }

    .portal-login-card-column {
        order: 3;
        width: 100%;
        max-width: 460px;
        justify-content: center;
    }

    .portal-bg-wave-layer {
        width: 100%;
        height: 60%;
        top: auto;
        bottom: 0;
    }
}

@media (max-width: 640px) {
    .portal-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* ── Step Transition Loader ── */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loaderBar {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* ── Geolocation Badge ── */
.geo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1.5px solid #6ee7b7;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #065f46;
    white-space: nowrap;
}

/* ========================================================
   COMING SOON LANDING VIEW FOR SELLER PORTAL
   ======================================================== */
.cs-page {
    width: 100%;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: #f0f7ff;
    background-image: url('/media/seller-home-banner.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    -webkit-background-size: cover;
    background-attachment: scroll;
    position: relative;
    overflow-x: hidden;
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.cs-header {
    width: 100%;
    background: transparent;
    border: none !important;
    border-bottom: none !important;
    position: relative;
    top: 0;
    z-index: 100;
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.cs-header-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 8px 28px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.cs-brand-wrap {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.cs-logo {
    height: clamp(64px, 5.5vw, 96px);
    max-height: 96px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(0, 77, 231, 0.14));
    -webkit-filter: drop-shadow(0 4px 14px rgba(0, 77, 231, 0.14));
    -webkit-transition: -webkit-transform 0.25s ease;
    transition: transform 0.25s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.cs-logo:hover {
    -webkit-transform: scale(1.04);
    transform: scale(1.04);
}

.cs-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs-btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 12px;
    padding: 9px 18px;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 77, 231, 0.08);
    transition: all 0.2s ease;
}

.cs-btn-login:hover {
    background: #eff6ff;
    border-color: var(--primary-hover);
    color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 77, 231, 0.16);
}

.cs-btn-login:active {
    transform: translateY(0);
}

.cs-btn-seller {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 77, 231, 0.28);
    transition: all 0.22s ease;
}

.cs-btn-seller:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 77, 231, 0.38);
}

.cs-btn-icon-wrap {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
}

.cs-btn-arrow {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.cs-btn-seller:hover .cs-btn-arrow {
    transform: translateX(3px);
}

.cs-hero-container {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    padding: 14px 24px 28px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cs-hero-grid {
    display: grid;
    grid-template-columns: 360px 1fr 380px;
    gap: 20px;
    align-items: flex-end;
    position: relative;
    padding: 0;
}

.cs-image-slot {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

/* ── KEYFRAME ANIMATIONS: ENTRANCE, ANCHORED BREATHE & HOVER MICRO-ANIMATIONS ── */
@keyframes csFadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-40px) translateY(10px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

@keyframes csFadeInRight {
    0% {
        opacity: 0;
        transform: translateX(40px) translateY(10px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

/* Anchored animations keep bottom touching the card (transform-origin: bottom) */
@keyframes csModelAnchorBreathe {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(0) scale(1.02);
    }
}

@keyframes csBoxesAnchorBreathe {

    0%,
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }

    50% {
        transform: translateY(0) scale(1.02) rotate(1deg);
    }
}

@keyframes csGlowPulse {

    0%,
    100% {
        text-shadow: 0 4px 20px rgba(0, 77, 231, 0.25);
    }

    50% {
        text-shadow: 0 8px 34px rgba(0, 77, 231, 0.55), 0 0 16px rgba(59, 130, 246, 0.4);
    }
}

@keyframes csBadgePulse {

    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
    }

    50% {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 8px 20px rgba(225, 29, 72, 0.55);
    }
}

@keyframes csIconWiggle {

    0%,
    100% {
        transform: scale(1.15) rotate(0deg);
    }

    25% {
        transform: scale(1.18) rotate(-9deg);
    }

    75% {
        transform: scale(1.18) rotate(9deg);
    }
}

@keyframes csCatIconPop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.28) rotate(-8deg);
    }

    100% {
        transform: scale(1.22) rotate(-5deg);
    }
}

.cs-hero-model-img {
    width: 100%;
    max-width: 410px;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    display: block;
    margin-bottom: -16px;
    filter: drop-shadow(0 14px 28px rgba(0, 77, 231, 0.14));
    -webkit-filter: drop-shadow(0 14px 28px rgba(0, 77, 231, 0.14));
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    -webkit-transform-origin: bottom center;
    transform-origin: bottom center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
    image-rendering: -webkit-optimize-contrast;
    animation: csFadeInLeft 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards, csModelAnchorBreathe 4.2s ease-in-out 0.85s infinite;
    -webkit-transition: -webkit-transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), -webkit-filter 0.35s ease;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
    position: relative;
    z-index: 1;
}

.cs-hero-model-img:hover {
    animation-play-state: paused;
    -webkit-transform: translateY(0) scale(1.04) !important;
    transform: translateY(0) scale(1.04) !important;
    filter: drop-shadow(0 26px 42px rgba(0, 77, 231, 0.3)) brightness(1.03);
    -webkit-filter: drop-shadow(0 26px 42px rgba(0, 77, 231, 0.3)) brightness(1.03);
}

.cs-hero-boxes-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    max-height: 460px;
    object-fit: contain;
    display: block;
    margin-bottom: -16px;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.12));
    -webkit-filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.12));
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    -webkit-transform-origin: bottom center;
    transform-origin: bottom center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
    image-rendering: -webkit-optimize-contrast;
    animation: csFadeInRight 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both, csBoxesAnchorBreathe 4.6s ease-in-out 1s infinite;
    -webkit-transition: -webkit-transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), -webkit-filter 0.35s ease;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
    position: relative;
    z-index: 1;
}

.cs-hero-boxes-img:hover {
    animation-play-state: paused;
    -webkit-transform: translateY(0) scale(1.045) rotate(-1deg) !important;
    transform: translateY(0) scale(1.045) rotate(-1deg) !important;
    filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.26)) brightness(1.03);
    -webkit-filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.26)) brightness(1.03);
}

.cs-slot-placeholder {
    width: 100%;
    min-height: 380px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(239, 246, 255, 0.75) 100%);
    border: 2px dashed #93c5fd;
    border-radius: 24px;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 77, 231, 0.06);
    transition: all 0.25s ease;
    backdrop-filter: blur(6px);
}

.cs-slot-placeholder:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(239, 246, 255, 0.9) 100%);
    box-shadow: 0 16px 36px rgba(0, 77, 231, 0.12);
}

.cs-slot-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #eff6ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(0, 77, 231, 0.1);
}

.cs-slot-badge {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #e0f2fe;
    color: #0369a1;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.cs-slot-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.cs-slot-dimension {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.cs-slot-dashed-frame {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    font-size: 0.76rem;
    font-weight: 600;
    color: #64748b;
}

.cs-center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px 8px 16px;
}

.cs-hero-brand-badge {
    margin-bottom: 12px;
}

.cs-hero-logo {
    height: 64px;
    max-width: 260px;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(0, 77, 231, 0.15));
}

.cs-main-title {
    font-size: clamp(3.2rem, 5.8vw, 5.4rem);
    font-weight: 950;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.cs-title-highlight {
    color: var(--primary);
    text-shadow: 0 6px 24px rgba(0, 77, 231, 0.25);
    display: inline-block;
    animation: csGlowPulse 3.2s ease-in-out infinite;
}

.cs-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.cs-key-points {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.01em;
    margin-bottom: 24px;
}

.cs-cta-wrap {
    margin-top: 4px;
}

.cs-hero-seller-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #004de7 0%, #0036a8 100%);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 13px 26px;
    font-size: 0.96rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 77, 231, 0.35);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cs-hero-seller-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 34px rgba(0, 77, 231, 0.48);
    background: linear-gradient(135deg, #003bbd 0%, #002b8a 100%);
}

.cs-incentives-wrapper {
    width: 100%;
    margin-top: 0;
    position: relative;
    z-index: 5;
}

.cs-incentives-card {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    padding: 24px 28px;
    position: relative;
    box-shadow: 0 16px 40px rgba(0, 77, 231, 0.08);
    transition: all 0.3s ease;
}

.cs-incentives-card:hover {
    box-shadow: 0 20px 48px rgba(0, 77, 231, 0.12);
}

.cs-floating-badge {
    position: absolute;
    top: -14px;
    left: 28px;
    background: linear-gradient(135deg, #ff2a5f 0%, #e11d48 100%);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
    animation: csBadgePulse 2.8s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cs-floating-badge:hover {
    transform: scale(1.08) !important;
}

.cs-incentives-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: center;
}

.cs-incentive-col {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 12px;
    border-right: 1px solid #f1f5f9;
    border-radius: 14px;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.cs-incentive-col:hover {
    background: #f8fafc;
    transform: translateY(-3px);
}

.cs-incentive-col:last-child {
    border-right: none;
}

.cs-inc-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cs-incentive-col:hover .cs-inc-icon-wrap {
    transform: scale(1.18) rotate(6deg);
    box-shadow: 0 8px 20px rgba(0, 77, 231, 0.18);
}

.cs-incentive-col:hover .cs-inc-icon-wrap i {
    animation: csIconWiggle 0.45s ease;
}

.cs-inc-headline {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.1;
    transition: transform 0.2s ease;
}

.cs-incentive-col:hover .cs-inc-headline {
    transform: scale(1.02);
}

.cs-inc-subheadline {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.cs-inc-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.35;
}

.cs-categories-strip-wrapper {
    width: 100%;
    margin-top: 10px;
}

.cs-categories-strip {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    padding: 14px 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 8px;
}

.cs-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 4px;
    border-radius: 14px;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.cs-cat-item:hover {
    background: #eff6ff;
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(0, 77, 231, 0.1);
}

.cs-cat-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cs-cat-item:hover .cs-cat-icon-box {
    animation: csCatIconPop 0.4s ease forwards;
    box-shadow: 0 8px 22px rgba(0, 77, 231, 0.22);
}

.cs-cat-name {
    font-size: 0.76rem;
    font-weight: 700;
    color: #334155;
    text-align: center;
    white-space: nowrap;
    transition: color 0.2s ease, transform 0.2s ease;
}

.cs-cat-item:hover .cs-cat-name {
    color: var(--primary);
    font-weight: 800;
    transform: translateY(1px);
}

.cs-bottom-bar {
    width: 100%;
    background: linear-gradient(135deg, #004de7 0%, #002f9e 100%);
    color: #ffffff;
    padding: 22px 24px;
    margin-top: auto;
    box-shadow: 0 -4px 24px rgba(0, 77, 231, 0.18);
}

.cs-bottom-inner {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 16px;
    flex-wrap: wrap;
}

.cs-trust-col {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 14px;
    border-radius: 14px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.cs-trust-col:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.cs-trust-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cs-trust-col:hover .cs-trust-icon {
    transform: scale(1.22) rotate(12deg);
    background: rgba(255, 255, 255, 0.32);
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.55);
}

.cs-trust-text h4 {
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    margin-bottom: 2px;
}

.cs-trust-text p {
    font-size: 0.78rem;
    opacity: 0.85;
}

.cs-trust-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
}

/* ========================================================
   MULTI-BROWSER & DESKTOP SCREEN RESPONSIVE COMPATIBILITY
   Supports: Chrome, Safari, Firefox, Edge, Opera
   Screens: 4K / Ultra-wide, 1080p, Laptops (1366x768, 1440x900),
            Tablets landscape/portrait, and Mobile
   ======================================================== */

/* Prevent flex/grid item blowout in Safari and Firefox */
.cs-hero-grid>*,
.cs-incentive-col,
.cs-cat-item {
    min-width: 0;
}

/* 1. ULTRA-WIDE & 4K DESKTOP MONITORS (1600px and up) */
@media (min-width: 1600px) {

    .cs-header-inner,
    .cs-hero-container {
        max-width: 1480px;
    }

    .cs-hero-grid {
        grid-template-columns: 400px 1fr 420px;
        gap: 28px;
    }

    .cs-logo {
        height: 96px;
        max-height: 96px;
    }

    .cs-hero-model-img {
        max-width: 440px;
        max-height: 540px;
    }

    .cs-hero-boxes-img {
        max-width: 430px;
        max-height: 480px;
    }

    .cs-main-title {
        font-size: clamp(3.8rem, 4.8vw, 5.2rem);
    }

    .cs-incentives-card {
        padding: 26px 32px;
    }

    .cs-categories-strip {
        padding: 16px 24px;
        gap: 10px;
    }
}

/* 2. STANDARD DESKTOP & 1080p (1201px - 1599px) */
@media (min-width: 1201px) and (max-width: 1599px) {

    .cs-header-inner,
    .cs-hero-container {
        max-width: 1320px;
    }

    .cs-hero-grid {
        grid-template-columns: 340px 1fr 360px;
        gap: 18px;
    }

    .cs-logo {
        height: 86px;
        max-height: 86px;
    }

    .cs-hero-model-img {
        max-width: 390px;
        max-height: 490px;
    }

    .cs-hero-boxes-img {
        max-width: 380px;
        max-height: 440px;
    }
}

/* 3. COMPACT DESKTOP & LAPTOPS (1024px - 1200px) */
@media (min-width: 1024px) and (max-width: 1200px) {

    .cs-header-inner,
    .cs-hero-container {
        max-width: 1140px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .cs-header-inner {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .cs-logo {
        height: 74px;
        max-height: 74px;
    }

    .cs-hero-grid {
        grid-template-columns: 280px 1fr 290px;
        gap: 14px;
    }

    .cs-main-title {
        font-size: clamp(2.4rem, 4.2vw, 3.6rem);
    }

    .cs-subtitle {
        font-size: 1.1rem;
    }

    .cs-hero-model-img {
        max-width: 310px;
        max-height: 430px;
    }

    .cs-hero-boxes-img {
        max-width: 300px;
        max-height: 380px;
    }

    .cs-incentives-card {
        padding: 20px 22px;
    }

    .cs-incentives-grid {
        gap: 10px;
    }

    .cs-inc-headline {
        font-size: 1.1rem;
    }

    .cs-inc-subheadline {
        font-size: 0.82rem;
    }

    .cs-categories-strip {
        gap: 6px;
        padding: 10px 14px;
    }

    .cs-cat-name {
        font-size: 0.72rem;
    }
}

/* 4. DESKTOP HEIGHT-CONSTRAINED MODE (Laptops: 1366x768, 1440x900, scaled 1080p)
   Guarantees 1-page fit with ZERO vertical scrolling on any laptop display */
@media (min-width: 1024px) and (max-height: 860px) {
    .cs-header-inner {
        padding: 4px 24px;
    }

    .cs-logo {
        height: 66px;
        max-height: 66px;
    }

    .cs-hero-container {
        padding: 4px 20px 14px 20px;
        gap: 6px;
    }

    .cs-hero-grid {
        gap: 14px;
    }

    .cs-main-title {
        font-size: clamp(2.5rem, 3.8vw, 3.4rem);
        margin-bottom: 6px;
    }

    .cs-subtitle {
        font-size: 1.05rem;
        margin-bottom: 4px;
    }

    .cs-key-points {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .cs-hero-seller-btn {
        padding: 10px 22px;
        font-size: 0.88rem;
    }

    .cs-hero-model-img {
        max-height: 370px;
        max-width: 320px;
    }

    .cs-hero-boxes-img {
        max-height: 320px;
        max-width: 320px;
    }

    .cs-incentives-card {
        padding: 16px 20px;
    }

    .cs-inc-icon-wrap {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .cs-inc-headline {
        font-size: 1.12rem;
    }

    .cs-inc-subheadline {
        font-size: 0.8rem;
    }

    .cs-categories-strip-wrapper {
        margin-top: 8px;
    }

    .cs-categories-strip {
        padding: 8px 14px;
        gap: 6px;
    }

    .cs-cat-icon-box {
        width: 36px;
        height: 36px;
        font-size: 1.05rem;
    }

    .cs-cat-name {
        font-size: 0.72rem;
    }
}

/* 5. TABLETS LANDSCAPE & MEDIUM SCREENS (769px - 1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
    .cs-header-inner {
        padding: 8px 20px;
    }

    .cs-logo {
        height: 64px;
        max-height: 64px;
    }

    .cs-hero-grid {
        grid-template-columns: 220px 1fr 230px;
        gap: 14px;
    }

    .cs-main-title {
        font-size: 2.4rem;
    }

    .cs-subtitle {
        font-size: 1rem;
    }

    .cs-hero-model-img {
        max-width: 240px;
        max-height: 340px;
    }

    .cs-hero-boxes-img {
        max-width: 240px;
        max-height: 300px;
    }

    .cs-incentives-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .cs-incentive-col:nth-child(2) {
        border-right: none;
    }

    .cs-categories-strip {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
    }
}

/* 6. TABLETS PORTRAIT & MOBILE (max-width: 768px) */
@media (max-width: 768px) {
    .cs-header-inner {
        padding: 10px 16px;
    }

    .cs-logo {
        height: 52px;
        max-height: 52px;
    }

    .cs-btn-login,
    .cs-btn-seller {
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    .cs-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .cs-slot-left,
    .cs-slot-right {
        max-width: 320px;
        margin: 0 auto;
    }

    .cs-hero-model-img {
        max-height: 320px;
        margin-bottom: 0;
    }

    .cs-hero-boxes-img {
        max-height: 280px;
        margin-bottom: 0;
    }

    .cs-main-title {
        font-size: clamp(2.2rem, 7vw, 3rem);
    }

    .cs-incentives-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cs-incentive-col {
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 12px;
    }

    .cs-incentive-col:last-child {
        border-bottom: none;
    }

    .cs-categories-strip {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
        padding: 12px;
    }

    .cs-bottom-inner {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .cs-trust-divider {
        display: none;
    }
}

/* 7. SMALL SMARTPHONES (max-width: 480px) */
@media (max-width: 480px) {
    .cs-logo {
        height: 44px;
        max-height: 44px;
    }

    .cs-header-actions {
        gap: 6px;
    }

    .cs-btn-login {
        padding: 6px 10px;
        font-size: 0.78rem;
    }

    .cs-btn-seller {
        padding: 7px 12px;
        font-size: 0.78rem;
    }

    .cs-categories-strip {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .cs-bottom-inner {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* ========================================================
   ONBOARDING REDESIGN: PREMIUM 5-STEP / BUSINESS & GST LAYOUT
   ======================================================== */
.onboarding-hero-banner {
    background: linear-gradient(135deg, #e0edff 0%, #f0f7ff 55%, #e0f2fe 100%);
    border-bottom: 1.5px solid #bfdbfe;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.hero-banner-content {
    text-align: center;
    flex: 1;
    z-index: 2;
    padding: 0 16px;
}

.hero-banner-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.hero-banner-sub {
    font-size: 0.85rem;
    color: #475569;
    margin: 0;
    font-weight: 500;
}

.hero-banner-left-illus,
.hero-banner-right-illus {
    flex-shrink: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Redesigned Step Head */
.onboarding-step-head-redesign {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1.5px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 10px;
}

.step-head-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-head-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0056fb;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.step-head-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px 0;
    letter-spacing: -0.02em;
}

.step-head-sub {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.compliance-pill-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f7ff;
    border: 1.5px solid #bfdbfe;
    padding: 5px 12px;
    border-radius: 10px;
}

.compliance-pill-badge i {
    font-size: 1.1rem;
    color: #0056fb;
}

.compliance-pill-badge .pill-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #1e3a8a;
    line-height: 1.2;
}

.compliance-pill-badge .pill-sub {
    font-size: 0.70rem;
    color: #475569;
    font-weight: 600;
}

/* Numbered Section Cards */
.onboarding-section-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.onboarding-section-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.section-numbered-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.section-numbered-header-with-sub {
    margin-bottom: 10px;
}

.section-numbered-header-with-sub .section-numbered-header {
    margin-bottom: 2px;
}

.section-header-sub {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
    margin-left: 32px;
    margin-top: 0;
}

.section-num-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0056fb;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-title-text {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Section 1: GST Type Cards */
.gst-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gst-type-card {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gst-type-card.selected {
    border: 2px solid #0056fb;
    background: #f0f7ff;
    box-shadow: 0 4px 14px rgba(0, 86, 251, 0.08);
}

.gst-type-card:hover {
    border-color: #93c5fd;
}

.gst-card-left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.custom-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.gst-type-card.selected .custom-radio {
    border-color: #0056fb;
    background: #ffffff;
}

.custom-radio-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0056fb;
}

.gst-card-info {
    display: flex;
    flex-direction: column;
}

.gst-card-title {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.gst-card-perks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gst-card-perks li {
    font-size: 0.80rem;
    color: #475569;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gst-card-perks li i {
    color: #10b981;
    font-size: 0.82rem;
}

.gst-card-graphic {
    flex-shrink: 0;
    margin-left: 14px;
}

/* Graphic for Regular GST Card */
.gst-doc-illus {
    position: relative;
    width: 48px;
    height: 56px;
}

.gst-doc-paper {
    width: 44px;
    height: 52px;
    background: #ffffff;
    border: 1.5px solid #bfdbfe;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    padding: 6px 4px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gst-tag {
    font-size: 0.65rem;
    font-weight: 800;
    color: #0056fb;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #dbeafe;
    padding-bottom: 2px;
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
}

.doc-lines {
    width: 80%;
    height: 2px;
    background: #cbd5e1;
    border-radius: 2px;
    margin-bottom: 3px;
}

.doc-lines.short {
    width: 50%;
}

.gst-check-circle {
    position: absolute;
    bottom: -4px;
    right: -2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0056fb;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    box-shadow: 0 2px 4px rgba(0, 86, 251, 0.3);
}

/* Graphic for Storefront Composition */
.store-illus-box {
    width: 56px;
    height: 48px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.store-awning {
    width: 54px;
    height: 14px;
    border-radius: 4px 4px 0 0;
    background: repeating-linear-gradient(90deg, #3b82f6 0px, #3b82f6 9px, #60a5fa 9px, #60a5fa 18px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.store-body {
    width: 48px;
    height: 32px;
    background: #f1f5f9;
    border: 1.5px solid #cbd5e1;
    border-top: none;
    border-radius: 0 0 4px 4px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 4px;
    box-sizing: border-box;
}

.store-door {
    width: 14px;
    height: 22px;
    background: #3b82f6;
    border-radius: 2px 2px 0 0;
    margin-top: 6px;
}

.store-window {
    width: 18px;
    height: 14px;
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 2px;
}

/* Required red star */
.req-star {
    color: #ef4444;
    font-weight: 700;
}

.gst-verified-pill {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gst-validated-message {
    margin-top: 6px;
    color: #15803d;
    font-size: 0.74rem;
    font-weight: 600;
}

/* Section 2: Document Cards 3-column Grid */
.doc-cards-3col-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.doc-modern-card {
    border-radius: 10px;
    padding: 12px 14px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    min-height: auto;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.doc-modern-card.aadhaar-card,
.doc-modern-card.pan-card {
    border: 1.5px solid #86efac;
    background: #fcfdfc;
}

.doc-modern-card.gst-card {
    border: 1.5px solid #fcd34d;
    background: #fffdf8;
}

.doc-modern-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 10px;
}

.doc-head-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.doc-head-icon.green {
    background: #dcfce7;
    color: #16a34a;
}

.doc-head-icon.blue {
    background: #dbeafe;
    color: #0056fb;
}

.doc-head-titles {
    flex: 1;
    min-width: 0;
}

.doc-name {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}

.doc-types {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 1px;
}

.doc-status-badge {
    font-size: 0.70rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 5px;
    flex-shrink: 0;
}

.doc-status-badge.verified {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.doc-status-badge.pending {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

/* File Preview Row */
.doc-file-preview-row {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.file-icon.red-pdf {
    position: relative;
    color: #dc2626;
    font-size: 1.3rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.file-badge {
    position: absolute;
    bottom: -2px;
    left: 1px;
    background: #dc2626;
    color: #fff;
    font-size: 0.45rem;
    font-weight: 800;
    padding: 0 2px;
    border-radius: 2px;
}

.file-details {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.file-name {
    font-size: 0.76rem;
    font-weight: 700;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    display: block;
}

.file-size {
    font-size: 0.66rem;
    color: #64748b;
    font-weight: 600;
}

.file-check-icon {
    color: #10b981;
    font-size: 0.90rem;
    flex-shrink: 0;
}

.file-replace-btn {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #0056fb;
    font-size: 0.70rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.file-replace-btn:hover {
    background: #0056fb;
    color: #ffffff;
}

/* Empty Dropzone for Pending Card */
.doc-empty-dropzone {
    border: 1.5px dashed #cbd5e1;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.doc-empty-dropzone:hover {
    border-color: #0056fb;
    background: #eff6ff;
}

.doc-empty-dropzone .cloud-icon {
    font-size: 1.25rem;
    color: #0056fb;
    margin-bottom: 2px;
}

.doc-empty-dropzone .upload-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #0f172a;
}

.doc-empty-dropzone .upload-sub {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 600;
}

/* Inline GST Certificate Upload Trigger (Same Row as GSTIN) */
.gst-upload-trigger-box {
    height: 40px;
    border: 1.5px dashed #3b82f6;
    background: #f0f7ff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.gst-upload-trigger-box:hover {
    background: #e0edff;
    border-color: #0056fb;
}

.cloud-icon-sm {
    color: #0056fb;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.gst-upload-label {
    font-size: 0.74rem;
    font-weight: 700;
    color: #1e3a8a;
    flex: 1;
    margin-left: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gst-upload-pill {
    font-size: 0.68rem;
    font-weight: 700;
    background: #0056fb;
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 5px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.gst-upload-trigger-box:hover .gst-upload-pill {
    background: #0040bd;
}

/* Modern Wizard Footer */
.onboarding-wizard-footer-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    margin-top: 6px;
    border-top: 1.5px solid #f1f5f9;
    margin-top: 8px;
}

.btn-draft-save {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-draft-save:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

.footer-right-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-wizard-back-modern {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 22px;
    font-size: 0.90rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-wizard-back-modern:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.btn-wizard-continue-modern {
    background: #0056fb;
    border: 1.5px solid #0056fb;
    border-radius: 10px;
    padding: 10px 26px;
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 86, 251, 0.25);
    transition: all 0.2s ease;
}

.btn-wizard-continue-modern:hover {
    background: #0045c7;
    box-shadow: 0 6px 18px rgba(0, 86, 251, 0.35);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .gst-type-grid {
        grid-template-columns: 1fr;
    }

    .doc-cards-3col-grid {
        grid-template-columns: 1fr;
    }

    .onboarding-hero-banner {
        padding: 18px;
    }

    .hero-banner-title {
        font-size: 1.35rem;
    }
}

/* ========================================================
   BACKEND CATEGORIES & RELEVANT PRODUCTS TABLE (SIMILAR UI)
   ======================================================== */
/* ========================================================
   BACKEND CATEGORIES & RELEVANT PRODUCTS TABLE (SIMILAR UI)
   Harmonious Ziepee Premium Color Combination
   ======================================================== */
.backend-categories-catalog-layout {
    display: flex;
    background: #ffffff;
    min-height: calc(100vh - 120px);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin: 16px 20px 24px 20px;
}

/* --- COLUMN 1: BACKEND CATEGORIES SIDEBAR --- */
.backend-categories-sidebar {
    width: 220px;
    min-width: 200px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.categories-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}

.sidebar-header-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-globe-icon {
    color: #004de7;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-header-title {
    font-size: 0.84rem;
    font-weight: 700;
    color: #0f172a;
    display: block;
    line-height: 1.2;
}

.category-header-subtitle {
    font-size: 0.64rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-top: 1px;
}

.category-sidebar-collapse-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.78rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.category-sidebar-collapse-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.categories-sidebar-menu {
    display: flex;
    flex-direction: column;
    padding: 6px 8px;
    flex: 1;
    overflow-y: auto;
    gap: 2px;
}

.category-nav-item {
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    border-radius: 6px;
    border: 1px solid transparent;
    background: transparent;
}

.category-nav-item:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.category-nav-item.active {
    background: #ffffff;
    color: #004de7;
    font-weight: 700;
    border: 1px solid #004de7;
    box-shadow: 0 1px 4px rgba(0, 77, 231, 0.1);
}

.cat-nav-left {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    overflow: hidden;
}

.cat-name-text {
    font-size: 0.78rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-nav-item.active .cat-name-text {
    color: #004de7;
    font-weight: 700;
}

.cat-code-badge {
    display: none;
}

.cat-nav-count {
    font-size: 0.70rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    background: #e2e8f0;
    color: #475569;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.category-nav-item:hover .cat-nav-count {
    background: #cbd5e1;
    color: #0f172a;
}

.category-nav-item.active .cat-nav-count {
    background: #004de7;
    color: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 77, 231, 0.25);
}

.categories-sidebar-footer {
    border-top: 1px solid #e2e8f0;
    padding: 12px 16px;
    background: #f8fafc;
}

.category-sync-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

.status-dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* --- COLUMN 2: RELEVANT PRODUCTS MAIN AREA --- */
.category-products-main-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    overflow-y: auto;
}

.category-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 14px 24px;
    border-bottom: 1px solid #f1f5f9;
}

.catalog-product-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin: 0;
}

.catalog-subtitle-count {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 4px;
    font-weight: 500;
}

.btn-add-catalog-product {
    background: #004de7;
    color: #ffffff;
    border: none;
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0, 77, 231, 0.25);
    transition: all 0.18s ease;
}

.btn-add-catalog-product:hover {
    background: #003bbb;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 77, 231, 0.35);
}

.catalog-search-wrap {
    position: relative;
}

.catalog-search-input {
    width: 100%;
    padding: 10px 38px 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.88rem;
    font-family: inherit;
    color: #0f172a;
    outline: none;
    background: #ffffff;
    box-sizing: border-box;
    transition: all 0.18s ease;
}

.catalog-search-input:focus {
    border-color: #004de7;
    box-shadow: 0 0 0 3px rgba(0, 77, 231, 0.12);
}

.catalog-search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    font-size: 0.92rem;
}

.category-table-header {
    display: flex;
    align-items: center;
    padding: 10px 24px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1.5px solid #e2e8f0;
    font-size: 0.76rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.2px;
    text-transform: none;
}

.th-cell {
    padding: 0 8px;
}

.category-products-table-body {
    flex: 1;
    overflow-y: auto;
}

.category-product-table-row {
    display: flex;
    align-items: center;
    padding: 10px 24px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.15s ease;
}

.category-product-table-row:hover {
    background: #f8fafc;
}

.td-cell {
    padding: 0 8px;
}

.product-title-bold {
    font-size: 0.76rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
}

.product-desc-text {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.3;
    margin-top: 1px;
}

.badge-cat-name {
    font-size: 0.80rem;
    padding: 2px 8px;
    border-radius: 6px;
    background: #eff6ff;
    color: #004de7;
    border: 1px solid #bfdbfe;
    font-weight: 600;
    display: inline-block;
    margin-right: 6px;
}

.badge-cat-code {
    display: none;
}

.sku-monospace-tag {
    font-size: 0.75rem;
    font-family: inherit;
    color: #475569;
    background: transparent;
    border: none;
    padding: 0;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.stock-status-pill {
    font-size: 0.80rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
}

.stock-status-pill.in-stock {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.stock-status-pill.out-of-stock {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.price-um-bold {
    font-size: 0.80rem;
    font-weight: 700;
    color: #0f172a;
}

.btn-table-action {
    background: transparent;
    border: 1px solid #e2e8f0;
    padding: 4px 9px;
    border-radius: 5px;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: 4px;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-table-action.edit {
    color: #004de7;
    border-color: #bfdbfe;
    background: #eff6ff;
}

.btn-table-action.edit:hover {
    background: #004de7;
    border-color: #004de7;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 77, 231, 0.25);
}

.btn-table-action.delete {
    color: #ef4444;
    border-color: #fecaca;
    background: #fef2f2;
}

.btn-table-action.delete:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25);
}

.catalog-no-results {
    padding: 48px 16px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ========================================================
   PROPER PRODUCT FORM VIEW (SHEET + TABS + CHATTER)
   Replaces modal popup with enterprise ERP / Odoo grade form
   ======================================================== */
.product-form-view-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding: 0 0 40px 0;
    box-sizing: border-box;
}

/* Top Sticky Control Header Bar (Compact & Sleek ERP) */
.product-form-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 7px 7px;
    margin: 10px 10px 0 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    flex-wrap: wrap;
    gap: 10px;
}

.product-form-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-form-save {
    background: #004de7;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 5px 13px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 1px 4px rgba(0, 77, 231, 0.2);
    transition: all 0.18s ease;
}

.btn-form-save:hover {
    background: #003bbb;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 77, 231, 0.3);
}

.btn-form-edit {
    background: #004de7;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 5px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 4px rgba(0, 77, 231, 0.2);
    transition: all 0.18s ease;
}

.btn-form-edit:hover {
    background: #003bbb;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 77, 231, 0.3);
}

.btn-form-discard {
    background: #ffffff;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 5px 11px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.18s ease;
}

.btn-form-discard:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

.btn-form-new {
    background: #f8fafc;
    color: #004de7;
    border: 1px dashed #93c5fd;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.18s ease;
}

.btn-form-new:hover {
    background: #eff6ff;
    border-color: #004de7;
}

.product-form-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-left: 8px;
}

.breadcrumb-link {
    color: #004de7;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s ease;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.breadcrumb-divider {
    color: #94a3b8;
    font-size: 0.70rem;
    font-weight: 400;
}

.breadcrumb-current-text {
    color: #0f172a;
    font-weight: 700;
    font-size: 0.78rem;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Header Right Smart Widgets & Status */
.product-form-header-right {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.product-smart-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.70rem;
    color: #475569;
}

.product-smart-pill-val {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.70rem;
}

.product-nav-pager {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 4px;
}

.btn-pager {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.65rem;
    color: #475569;
    transition: all 0.15s ease;
}

.btn-pager:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* Split Main Layout: Form Sheet (Left) + Chatter (Right) */
.product-form-main-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 0 10px;
    box-sizing: border-box;
    width: 100%;
}

@media (max-width: 1200px) {
    .product-form-main-layout {
        flex-direction: column;
    }
}

/* 1. LEFT: PROPER PRODUCT SHEET */
.product-proper-form-sheet {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Sheet Title Bar (Compact Editable Product Title + Favorite Star) */
.product-sheet-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid #f1f5f9;
}

.product-title-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.product-title-input-label {
    font-size: 0.70rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: #64748b;
}

.product-sheet-title-input {
    font-size: 1.28rem;
    font-weight: 700;
    color: #0f172a;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 7px 12px;
    width: 100%;
    outline: none;
    font-family: inherit;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.product-sheet-title-input:focus {
    border-color: #004de7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 77, 231, 0.15);
}

.product-sheet-title-input.has-error {
    border-color: #f59e0b !important;
    background: #fffdfa !important;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.16) !important;
}

.product-field-input.has-error,
.product-field-select.has-error {
    border-color: #f59e0b !important;
    background: #fffdfa !important;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.16) !important;
}

.field-inline-error {
    font-size: 0.78rem;
    font-weight: 600;
    color: #d97706;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    animation: fadeInError 0.2s ease;
}

.field-error-hint {
    font-size: 0.76rem;
    font-weight: 600;
    color: #d97706;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    animation: fadeInError 0.2s ease;
}

@keyframes fadeInError {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.catalog-floating-toast.error-toast {
    background: #1e293b !important;
    color: #f8fafc !important;
    border-left: 4px solid #f59e0b !important;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.2), 0 8px 10px -6px rgba(15, 23, 42, 0.15) !important;
}

.catalog-floating-toast.error-toast i {
    color: #fbbf24 !important;
}


.product-title-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-product-star {
    background: none;
    border: none;
    font-size: 1.35rem;
    color: #cbd5e1;
    cursor: pointer;
    padding: 6px;
    transition: all 0.15s ease;
}

.btn-product-star.active {
    color: #f59e0b;
}

.product-active-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    user-select: none;
}

.product-active-toggle-wrap input[type="checkbox"] {
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: #10b981;
}

/* Sheet Top Metadata Grid */
.product-sheet-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    padding: 14px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.product-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    width: 100%;
}

.product-field-label {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
    gap: 6px;
    margin: 0;
    line-height: 1.25;
}

.product-field-label i {
    color: #004de7;
    font-size: 0.80rem;
}

.product-field-input,
.product-field-select {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
    width: 100%;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.product-field-input:focus,
.product-field-select:focus {
    border-color: #004de7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 77, 231, 0.14);
}

.product-field-textarea {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #0f172a;
    width: 100%;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    resize: vertical;
    min-height: 72px;
}

.product-field-textarea:focus {
    border-color: #004de7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 77, 231, 0.14);
}

/* ==========================================================================
   STANDARD ENTERPRISE PORTAL FORM SYSTEM (REUSABLE CLASS-BASED)
   Standardized layout for Warehouse, Product, Store Profile & Order forms
   ========================================================================== */
.portal-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    width: 100%;
}

.portal-form-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
    margin: 0;
    line-height: 1.25;
}

.portal-form-label .label-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.portal-form-label .label-title i {
    color: #004de7;
    font-size: 0.80rem;
}

.portal-form-label .label-required {
    color: #e11d48;
    margin-left: 2px;
    font-weight: 700;
}

.portal-form-input,
.portal-form-select {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.portal-form-input::placeholder,
.portal-form-textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.portal-form-input:focus,
.portal-form-select:focus,
.portal-form-textarea:focus {
    border-color: #004de7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 77, 231, 0.14);
}

.portal-form-input:disabled,
.portal-form-input[readonly],
.portal-form-select:disabled {
    background: #f8fafc;
    color: #64748b;
    border-color: #e2e8f0;
    cursor: default;
}

.portal-form-input.has-icon {
    padding-left: 36px;
}

.portal-form-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #004de7;
    font-size: 0.82rem;
    pointer-events: none;
}

.portal-form-textarea {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #0f172a;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    resize: vertical;
    min-height: 72px;
}

.portal-form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.portal-form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.portal-form-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

@media (max-width: 1024px) {
    .portal-form-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portal-form-grid-2,
    .portal-form-grid-3,
    .portal-form-grid-4 {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Form Sheet Tabs */
.product-sheet-tabs-nav {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid #e2e8f0;
    margin-top: 2px;
}

.product-sheet-tab-btn {
    background: none;
    border: none;
    padding: 7px 7px;
    font-size: 0.70rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-sheet-tab-btn:hover {
    color: #004de7;
}

.product-sheet-tab-btn.active {
    color: #004de7;
    border-bottom-color: #004de7;
    background: rgba(0, 77, 231, 0.04);
    border-radius: 6px 6px 0 0;
}

.product-tab-content-panel {
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-tab-section-heading {
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 7px;
}

/* Live Pricing, Margin & Tax Auto-Calculator (Professional View Cart / Ledger List View) */
.product-calc-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.calc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 6px;
    border-bottom: 1px solid #f1f5f9;
}

.calc-card-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.calc-badge-live {
    font-size: 0.65rem;
    font-weight: 700;
    background: #eef2ff;
    color: #004de7;
    padding: 2px 7px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.calc-cart-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calc-cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.74rem;
    color: #475569;
    padding: 3px 0;
}

.calc-cart-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: #334155;
}

.calc-cart-val {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.calc-cart-subrow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.68rem;
    color: #64748b;
    padding: 2px 0 2px 18px;
    position: relative;
}

.calc-cart-subrow::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    width: 7px;
    height: 1px;
    background: #cbd5e1;
}

.calc-pill {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    line-height: 1.3;
    display: inline-flex;
    align-items: center;
}

.calc-pill-discount {
    background: #dcfce7;
    color: #15803d;
}

.calc-pill-tax {
    background: #f1f5f9;
    color: #475569;
}

.calc-cart-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 3px 0;
}

.calc-cart-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 3px;
}

.calc-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.74rem;
}

.calc-summary-row.primary {
    font-weight: 700;
    color: #0f172a;
}

.calc-summary-row.secondary {
    font-size: 0.70rem;
    color: #64748b;
    padding-top: 3px;
    border-top: 1px dashed #cbd5e1;
}

.calc-alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 7px 10px;
    color: #b91c1c;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.calc-pill-fee {
    background: #fef3c7;
    color: #b45309;
}

.calc-pill-shipping {
    background: #e0f2fe;
    color: #0369a1;
}

.calc-info-btn {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.76rem;
    cursor: pointer;
    padding: 0 2px;
    display: inline-flex;
    align-items: center;
    transition: color 0.15s ease;
}

.calc-info-btn:hover {
    color: #004de7;
}

.delivery-terms-popover {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 6px;
    width: 280px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 60;
    font-size: 0.72rem;
    color: #334155;
    animation: fadeInTerms 0.18s ease-out;
}

@keyframes fadeInTerms {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delivery-terms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-weight: 700;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 4px;
}

.delivery-terms-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.delivery-terms-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.35;
}

/* Read-Only State for ERP Form View */
.badge-mode-readonly {
    font-size: 0.68rem;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.product-sheet-card.is-readonly-mode .product-sheet-title-input {
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    cursor: default !important;
    color: #0f172a !important;
}

.product-sheet-card.is-readonly-mode .product-field-input,
.product-sheet-card.is-readonly-mode .product-field-textarea {
    border-color: #e2e8f0 !important;
    background: #f8fafc !important;
    box-shadow: none !important;
    color: #0f172a !important;
    cursor: default !important;
    user-select: text;
}

.product-sheet-card.is-readonly-mode .product-field-select {
    border-color: #e2e8f0 !important;
    background: #f8fafc !important;
    box-shadow: none !important;
    color: #0f172a !important;
    cursor: default !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: none !important;
    opacity: 1 !important;
}

.product-sheet-card.is-readonly-mode .product-active-toggle-wrap {
    cursor: default;
    pointer-events: none;
}

.product-sheet-card.is-readonly-mode .product-field-input:focus,
.product-sheet-card.is-readonly-mode .product-field-textarea:focus,
.product-sheet-card.is-readonly-mode .product-field-select:focus {
    border-color: #e2e8f0 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* 2. RIGHT: CHATTER & AUDIT FEED COMPONENT */
.product-chatter-panel {
    width: 396px;
    max-width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 1200px) {
    .product-chatter-panel {
        width: 100%;
        max-width: 100%;
    }
}

.product-chatter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.product-chatter-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-chatter-action {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    padding: 5px 11px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
}

.btn-chatter-action:hover {
    background: #eff6ff;
    border-color: #004de7;
    color: #004de7;
}

.btn-chatter-action.active {
    background: #004de7;
    border-color: #004de7;
    color: #ffffff;
}

.chatter-follower-badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Chatter Composer */
.product-chatter-composer {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chatter-textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 0.84rem;
    font-family: inherit;
    resize: none;
    min-height: 55px;
    outline: none;
    box-sizing: border-box;
    background: #ffffff;
}

.chatter-textarea:focus {
    border-color: #004de7;
}

.chatter-composer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-chatter-send-main {
    background: #004de7;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 0.80rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
}

.btn-chatter-send-main:hover {
    background: #003bbb;
}

/* Chatter Activity Stream */
.product-chatter-stream {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 4px;
}

.chatter-message-card {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.82rem;
}

.chatter-message-card.note {
    background: #fffbeb;
    border-color: #fef3c7;
}

.chatter-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #004de7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.78rem;
    flex-shrink: 0;
}

.chatter-avatar.note-avatar {
    background: #f59e0b;
}

.chatter-msg-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chatter-msg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatter-msg-author {
    font-weight: 800;
    color: #0f172a;
}

.chatter-msg-time {
    font-size: 0.72rem;
    color: #94a3b8;
}

.chatter-msg-text {
    color: #334155;
    line-height: 1.35;
    word-break: break-word;
}

/* Floating Toast Notification */
.catalog-floating-toast {
    position: fixed;
    top: 20px;
    right: 28px;
    background: #0f766e;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.86rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    animation: fadeInToast 0.25s ease;
}

@keyframes fadeInToast {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================================
   MULTI-IMAGE STORE & GALLERY STYLES
   ======================================================== */
.tab-counter-badge {
    background: #e0e7ff;
    color: #4338ca;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 6px;
    display: inline-block;
}

.multi-img-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.multi-img-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.multi-img-header-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.multi-img-header-sub {
    font-size: 0.74rem;
    color: #64748b;
    margin-top: 2px;
}

.multi-img-upload-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px;
}

.multi-img-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 22px 16px;
    text-align: center;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.multi-img-dropzone:hover {
    border-color: #004de7;
    background: #f0f7ff;
}

.multi-img-dropzone-icon {
    font-size: 1.8rem;
    color: #004de7;
    margin-bottom: 2px;
}

.multi-img-dropzone-text {
    font-size: 0.82rem;
    color: #334155;
}

.multi-img-dropzone-sub {
    font-size: 0.70rem;
    color: #94a3b8;
}

.multi-img-url-bar {
    display: flex;
    gap: 8px;
    align-items: center;
}

.multi-img-url-input {
    flex: 1;
    font-size: 0.78rem;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    outline: none;
    transition: border-color 0.15s ease;
}

.multi-img-url-input:focus {
    border-color: #004de7;
    box-shadow: 0 0 0 2px rgba(0, 77, 231, 0.1);
}

.btn-add-img-url {
    background: #004de7;
    color: #ffffff;
    border: none;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.btn-add-img-url:hover {
    background: #0037a8;
}

/* Images Grid */
.multi-img-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
}

.multi-img-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.multi-img-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.multi-img-card.is-primary {
    border-color: #004de7;
    box-shadow: 0 0 0 1.5px #004de7, 0 4px 12px rgba(0, 77, 231, 0.12);
}

.multi-img-thumb-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.multi-img-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.multi-img-thumb-wrap:hover .multi-img-thumb {
    transform: scale(1.05);
}

.multi-img-zoom-hint {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.multi-img-thumb-wrap:hover .multi-img-zoom-hint {
    opacity: 1;
}

/* Badges on Thumb */
.multi-img-badge-primary {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #004de7;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.multi-img-badge-idx {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 2;
}

/* Card Body & Actions */
.multi-img-card-body {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.multi-img-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.68rem;
    color: #64748b;
}

.multi-img-name {
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 110px;
}

.multi-img-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding-top: 4px;
    border-top: 1px dashed #e2e8f0;
}

.btn-make-cover {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    font-size: 0.66rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    flex: 1;
    text-align: center;
}

.btn-make-cover:hover {
    background: #004de7;
    color: #ffffff;
    border-color: #004de7;
}

.btn-img-ctrl {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 0.68rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-img-ctrl:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-img-ctrl.danger:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #ef4444;
}

/* Empty State */
.multi-img-empty {
    padding: 36px 20px;
    text-align: center;
    border: 2px dashed #e2e8f0;
    border-radius: 10px;
    background: #fafaf9;
    color: #64748b;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.multi-img-empty-icon {
    font-size: 2.2rem;
    color: #cbd5e1;
    margin-bottom: 4px;
}

/* Lightbox Modal */
.multi-img-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeInTerms 0.15s ease;
}

.multi-img-lightbox-content {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.multi-img-lightbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
}

.multi-img-lightbox-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 2px 6px;
}

.multi-img-lightbox-close:hover {
    color: #ffffff;
}

.multi-img-lightbox-body {
    padding: 16px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
}

.multi-img-lightbox-img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

/* Table Thumbnail */
.table-prod-thumb {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    flex-shrink: 0;
}

/* ========================================================
   MODEL OPTIONS / LABOUR WORK ENTRIES TABLE STYLES
   ======================================================== */
.model-entries-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.model-entries-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.model-entries-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.model-entries-title-icon {
    font-size: 1.5rem;
    color: #2563eb;
}

.model-entries-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin: 0;
}

.btn-add-model-item {
    background: #0066ff;
    color: #ffffff;
    border: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s ease, transform 0.1s ease;
}

.btn-add-model-item:hover {
    background: #0052cc;
}

.btn-add-model-item:active {
    transform: scale(0.98);
}

.model-entries-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 8px;
}

.model-entries-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.85rem;
}

.model-entries-table th {
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.model-entries-table th:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.model-entries-table th:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.model-entries-table td {
    padding: 12px 14px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.model-entries-table tr:hover:not(.is-inline-editing) td {
    background: #f8fafc;
}

.model-entries-table tr.is-inline-editing td {
    background: #eff6ff;
    border-bottom: 1px solid #bfdbfe;
}

/* Inline Edit Controls */
.model-inline-input {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 0.84rem;
    color: #0f172a;
    outline: none;
    transition: border-color 0.15s ease;
}

.model-inline-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.model-inline-input.num-field {
    width: 72px;
    text-align: center;
}

.model-inline-select {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 0.84rem;
    color: #0f172a;
    outline: none;
    cursor: pointer;
}

.model-amount-bold {
    font-weight: 800;
    color: #0052cc;
    font-size: 0.92rem;
}

.model-amount-plain {
    font-weight: 800;
    color: #0f172a;
    font-size: 0.90rem;
}

.btn-model-save {
    background: #16a34a;
    color: #ffffff;
    border: none;
    font-size: 0.80rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-model-save:hover {
    background: #15803d;
}

.btn-model-cancel {
    background: #ffffff;
    color: #475569;
    border: 1px solid #cbd5e1;
    font-size: 0.80rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    margin-left: 6px;
    transition: all 0.15s ease;
}

.btn-model-cancel:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.btn-model-icon-edit {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    transition: background 0.15s ease;
}

.btn-model-icon-edit:hover {
    background: #1d4ed8;
}

.btn-model-icon-del {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #fee2e2;
    color: #ef4444;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    margin-left: 8px;
    transition: all 0.15s ease;
}

.btn-model-icon-del:hover {
    background: #fecaca;
    color: #dc2626;
}

.model-entries-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.model-entries-count {
    font-size: 0.80rem;
    color: #64748b;
}

.model-pagination {
    display: flex;
    align-items: center;
    gap: 4px;
}

.model-page-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.model-page-btn.active {
    background: #0066ff;
    color: #ffffff;
    border-color: #0066ff;
}

/* Quick inline edit row in main catalog list table */
.quick-edit-input {
    background: #ffffff;
    border: 1px solid #2563eb;
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 0.80rem;
    font-weight: 700;
    color: #0f172a;
    width: 90px;
    text-align: right;
    outline: none;
}

/* ========================================================
   Modern Odoo-Style x2Many Editable Line Table for Other Options
   ======================================================== */
.o-x2many-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.o-x2many-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    font-family: inherit;
    text-align: left;
}

.o-x2many-table thead th {
    background: #f8fafc;
    color: #334155;
    font-weight: 600;
    padding: 10px 18px;
    border-bottom: 2px solid #e2e8f0;
    font-size: 13.5px;
    letter-spacing: -0.1px;
    user-select: none;
}

.o-x2many-table thead th.o-col-actions-header {
    text-align: right;
    padding-right: 18px;
    color: #475569;
    font-size: 14px;
}

.o-x2many-row {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.12s ease;
    cursor: pointer;
}

.o-x2many-row:hover:not(.is-editing) {
    background-color: #f8fafc;
}

.o-x2many-row.is-editing {
    background-color: #f0fdfa;
    border-bottom: 1px solid #ccfbf1;
}

.o-x2many-cell {
    padding: 4px 14px;
    vertical-align: middle;
    color: #1e293b;
    height: 38px;
    box-sizing: border-box;
}

.o-cell-display {
    min-height: 24px;
    display: flex;
    align-items: center;
    word-break: break-word;
    font-size: 13px;
}

.o-cell-display.empty-val {
    color: #94a3b8;
    font-style: italic;
    font-size: 12px;
}

.o-inline-input {
    width: 100%;
    height: 28px;
    background: #ffffff;
    border: 1px solid #008784;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 13px;
    color: #0f172a;
    outline: none;
    box-shadow: 0 0 0 1.5px rgba(0, 135, 132, 0.16);
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
    box-sizing: border-box;
    display: block;
}

.o-inline-input:focus {
    border-color: #00706d;
    box-shadow: 0 0 0 2.5px rgba(0, 135, 132, 0.25);
}



.o-inline-textarea {
    width: 100%;
    min-height: 48px;
    background: #ffffff;
    border: 1px solid #008784;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 13px;
    line-height: 1.45;
    color: #0f172a;
    outline: none;
    box-shadow: 0 0 0 1.5px rgba(0, 135, 132, 0.16);
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
    box-sizing: border-box;
    display: block;
    resize: vertical;
}

.o-inline-textarea:focus {
    border-color: #00706d;
    box-shadow: 0 0 0 2.5px rgba(0, 135, 132, 0.25);
}

.o-inline-textarea::placeholder {
    color: #94a3b8;
    font-style: italic;
    font-size: 12px;
}

.o-inline-input::placeholder {
    color: #94a3b8;
    font-style: italic;
    font-size: 12px;
}

.o-btn-delete-row {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 12.5px;
    opacity: 0.6;
    transition: all 0.15s ease;
    line-height: 1;
}

.o-x2many-row:hover .o-btn-delete-row,
.o-x2many-row.is-editing .o-btn-delete-row {
    opacity: 1;
}

.o-btn-delete-row:hover {
    color: #ef4444;
    background: #fee2e2;
}

.o-btn-confirm-row {
    background: #008784;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 3px 7px;
    height: 26px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    line-height: 1;
}

.o-btn-confirm-row:hover {
    background: #006e6b;
}

.o-add-line-btn {
    background: transparent;
    border: none;
    color: #008784;
    font-weight: 500;
    font-size: 13px;
    padding: 7px 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s;
}

.o-add-line-btn:hover {
    color: #005a58;
    text-decoration: underline;
}

.o-add-line-btn:active {
    transform: translateY(1px);
}

.o-add-line-row {
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
}

.o-empty-placeholder-row {
    height: 38px;
    border-bottom: 1px solid #f8fafc;
}

.o-empty-placeholder-row td {
    padding: 0;
}

/* ========================================================
   PROFESSIONAL HEADER ACTIONS: NOTIFICATIONS, HELP, USER MENU
   ======================================================== */
.header-action-group {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

/* Pill Action Buttons (Notifications & Help & FAQs) */
.header-action-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: 20px;
    border: 1px solid #dbeafe;
    background: #ffffff;
    color: #1e293b;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.header-action-pill-btn:hover {
    background: #f8fafc;
    border-color: #93c5fd;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(0, 77, 231, 0.06);
}

.header-action-pill-btn.active {
    background: #eff6ff;
    border-color: #2563eb;
    color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.header-action-pill-btn .action-icon {
    font-size: 0.96rem;
    color: #475569;
    transition: color 0.18s;
}

.header-action-pill-btn:hover .action-icon,
.header-action-pill-btn.active .action-icon {
    color: #2563eb;
}

.header-action-pill-btn .chevron-icon {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-left: 2px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.header-action-pill-btn.active .chevron-icon {
    transform: rotate(180deg);
    color: #2563eb;
}

/* Red Circular Count Badge (3) */
.header-badge-count {
    background: #ef4444;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-left: 2px;
}

/* User Profile Avatar Pill Button */
.header-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 16px 0 6px;
    border-radius: 20px;
    border: 1px solid #dbeafe;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.header-user-btn:hover {
    background: #f8fafc;
    border-color: #93c5fd;
    box-shadow: 0 2px 6px rgba(0, 77, 231, 0.06);
}

.header-user-btn.active {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.header-avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #0052e0;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.84rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-user-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0f172a;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-user-btn .chevron-icon {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-left: 2px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.header-user-btn.active .chevron-icon {
    transform: rotate(180deg);
    color: #2563eb;
}

/* Elegant Header Dropdown Menu / Popover matching mockup */
.header-popover-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    z-index: 1050;
    animation: fadeInDropdown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-popover-menu.notifications-width {
    width: 360px;
}

.header-popover-menu.help-dropdown-width {
    width: 290px;
}

.header-popover-menu.user-menu-width {
    width: 260px;
}

/* Popover Header Bar */
.popover-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 12px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
}

.popover-header-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.popover-header-badge-count {
    background: #ef4444;
    color: #ffffff;
    font-size: 0.70rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.popover-view-all-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #0052e0;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s;
}

.popover-view-all-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Popover Notifications List */
.popover-notifications-list {
    max-height: 380px;
    overflow-y: auto;
    padding: 4px 0;
}

.popover-notif-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 18px;
    transition: background 0.15s ease;
    cursor: pointer;
    border-bottom: 1px solid #f8fafc;
}

.popover-notif-row:hover {
    background: #f8fafc;
}

.popover-notif-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.popover-notif-info {
    flex: 1;
    min-width: 0;
}

.popover-notif-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}

.popover-notif-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
}

.popover-notif-time-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: #64748b;
    white-space: nowrap;
}

.popover-notif-blue-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0052e0;
}

.popover-notif-sub {
    font-size: 0.77rem;
    color: #64748b;
    line-height: 1.35;
    margin: 0;
}

.popover-bottom-action-bar {
    padding: 14px 18px;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
    text-align: center;
}

.popover-bottom-action-link {
    font-size: 0.84rem;
    font-weight: 600;
    color: #0052e0;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s;
}

.popover-bottom-action-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Help & FAQs Dropdown list */
.help-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 10px;
    border-bottom: 1px solid #f1f5f9;
}

.help-dropdown-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-dropdown-list {
    padding: 6px 0;
    list-style: none;
    margin: 0;
}

.help-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 18px;
    cursor: pointer;
    transition: background 0.15s ease;
    border-bottom: 1px solid #f8fafc;
}

.help-dropdown-item:last-child {
    border-bottom: none;
}

.help-dropdown-item:hover {
    background: #f8fafc;
}

.help-dropdown-item-icon {
    font-size: 1rem;
    color: #0052e0;
    margin-top: 2px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.help-dropdown-item-texts {
    flex: 1;
    min-width: 0;
}

.help-dropdown-item-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.help-dropdown-item-desc {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 2px;
    line-height: 1.3;
}

.help-dropdown-download-banner {
    margin: 8px 12px 10px;
    padding: 11px 14px;
    border-radius: 10px;
    background: #f0f7ff;
    border: 1px solid #dbeafe;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.15s ease;
}

.help-dropdown-download-banner:hover {
    background: #e0f2fe;
    border-color: #93c5fd;
}

/* User Profile Dropdown Card */
.user-menu-store-card {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
}

.user-menu-store-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #dbeafe;
    color: #0052e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.user-menu-store-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.user-menu-store-email {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 2px;
    word-break: break-all;
}

.user-menu-list {
    padding: 6px 0;
    list-style: none;
    margin: 0;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: all 0.12s ease;
}

.user-menu-item i {
    font-size: 0.95rem;
    color: #64748b;
    width: 18px;
    text-align: center;
    transition: color 0.12s;
}

.user-menu-item:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.user-menu-item:hover i {
    color: #0052e0;
}

.user-menu-item.logout {
    color: #dc2626;
    border-top: 1px solid #f1f5f9;
    margin-top: 4px;
    padding-top: 11px;
}

.user-menu-item.logout i {
    color: #dc2626;
}

.user-menu-item.logout:hover {
    background: #fef2f2;
    color: #b91c1c;
}


/* ========================================================
   ORDER FORM VIEW & READ-ONLY MULTI-ITEM LIST VIEW
   Matches the Odoo/Ziepee Enterprise Product Form Sheet Layout
   ======================================================== */
.order-form-view-container {
    width: 100%;
}

.order-readonly-field-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 0.80rem;
    color: #1e293b;
    font-weight: 500;
    min-height: 34px;
    box-sizing: border-box;
}

.order-readonly-field-box span {
    color: #0f172a;
    font-weight: 600;
}

.order-items-x2many-table {
    width: 100%;
    border-collapse: collapse;
}

.order-items-x2many-table th {
    background: #f8fafc;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 8px 10px;
    border-bottom: 1px solid #e2e8f0;
}

.order-item-readonly-row {
    transition: background 0.15s ease;
}

.order-item-readonly-row:hover {
    background: #f8fafc;
}

.order-item-readonly-row td {
    padding: 9px 10px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    font-size: 0.80rem;
}

.order-row-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.order-row-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 4px 12px rgba(0, 77, 231, 0.08);
    transform: translateY(-1px);
}

@keyframes portalLoadingAnim {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* ========================================================
   MODERN DASHBOARD STYLES (MATCHING REFERENCE UI)
   ======================================================== */
.modern-seller-header {
    background: #ffffff;
    height: 64px;
    padding: 0 28px;
    border-bottom: 1px solid #eef2f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 99;
}

.modern-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    max-width: 620px;
}

.header-hamburger-btn {
    background: transparent;
    border: none;
    font-size: 1.15rem;
    color: #475569;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.header-hamburger-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.header-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 14px;
    width: 100%;
    max-width: 520px;
    transition: all 0.15s ease;
}

.header-search-bar:focus-within {
    background: #ffffff;
    border-color: #004de7;
    box-shadow: 0 0 0 3px rgba(0, 77, 231, 0.1);
}

.header-search-bar i {
    color: #94a3b8;
    font-size: 0.9rem;
}

.header-search-bar input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.86rem;
    color: #0f172a;
    width: 100%;
    font-family: inherit;
}

.header-search-bar input::placeholder {
    color: #94a3b8;
}

.modern-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-icon-badge-btn {
    position: relative;
    background: #f1f5f9;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
    transition: all 0.15s ease;
}

.header-icon-badge-btn:hover {
    background: #e2e8f0;
    color: #004de7;
    transform: translateY(-1px);
}

.header-icon-badge-btn .red-pill {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.header-pill-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.header-pill-action-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: translateY(-1px);
}

.modern-user-profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: none;
    border-radius: 30px;
    padding: 4px 14px 4px 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.modern-user-profile-btn:hover {
    background: #f1f5f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.modern-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #004de7;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-user-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.modern-user-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.modern-user-sub {
    font-size: 0.68rem;
    color: #64748b;
    line-height: 1.2;
}

/* SIDEBAR LIGHT STYLES TO MATCH SCREENSHOT */
.seller-sidebar.clean-theme {
    background: #ffffff;
    border-right: 1px solid #eef2f6;
    color: #334155;
}

.clean-theme .sidebar-store-profile {
    border-bottom: 1px solid #f1f5f9;
}

.clean-theme .sidebar-store-profile:hover {
    background: #f8fafc;
}

.clean-theme .store-name-text {
    color: #0f172a;
}

.clean-theme .sidebar-section-title {
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.clean-theme .sidebar-nav-item {
    color: #475569;
    border-radius: 8px;
    margin: 1px 0;
    font-size: 0.70rem !important;
    font-weight: 500 !important;
    padding: 7px 10px;
}

.clean-theme .sidebar-nav-item:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.clean-theme .sidebar-nav-item.active {
    background: #004de7;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 77, 231, 0.28);
}

.clean-theme .sidebar-nav-item.active .nav-item-left i {
    color: #ffffff;
}

.clean-theme .sidebar-subnav-item {
    color: #64748b;
    border-radius: 6px;
    font-size: 0.70rem !important;
    font-weight: 500 !important;
    padding: 6px 10px;
}

.clean-theme .sidebar-subnav-item:hover {
    background: #f1f5f9;
    color: #004de7;
}

.clean-theme .sidebar-subnav-item.active {
    background: #eff6ff;
    color: #004de7;
    font-weight: 600 !important;
    border-left: 3px solid #004de7;
}

.sidebar-contact-support-pill {
    margin: 14px 12px;
    padding: 10px 14px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
}

.sidebar-contact-support-pill:hover {
    background: #dbeafe;
    border-color: #bfdbfe;
}

.sidebar-contact-support-pill .support-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-contact-support-pill .support-left i {
    color: #004de7;
    font-size: 1.05rem;
}

.sidebar-contact-support-pill .support-text-title {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
    line-height: 1.2;
}

.sidebar-contact-support-pill .support-text-action {
    font-size: 0.82rem;
    color: #004de7;
    font-weight: 700;
    line-height: 1.2;
}

/* ========================================================
   DASHBOARD HERO BANNER (MATCHING SCREENSHOT)
   ======================================================== */
.dash-modern-container {
    padding: 24px 28px 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1440px;
}

.hero-welcome-card {
    background: #ffffff url('/seller-portal/assets/images/modern_ecommerce_shopping_banner.png') right center / cover no-repeat;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 220px;
    box-shadow: 0 4px 20px rgba(0, 77, 231, 0.04);
}

@media (max-width: 1280px) {
    .seller-layout:not(.sidebar-collapsed) .hero-welcome-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        min-height: auto;
    }
}

@media (max-width: 1024px) {
    .hero-welcome-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        min-height: auto;
    }
}

.hero-welcome-left {
    position: relative;
    z-index: 2;
    max-width: 440px;
}

.hero-welcome-badge {
    font-size: 0.84rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.hero-welcome-title {
    font-size: 2.1rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 8px;
}

.hero-welcome-sub {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 22px;
    font-weight: 500;
}

.hero-welcome-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-btn-primary {
    background: #004de7;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 77, 231, 0.3);
    transition: all 0.15s ease;
    font-family: inherit;
}

.hero-btn-primary:hover {
    background: #003db8;
    transform: translateY(-1px);
}

.hero-btn-outline {
    background: #ffffff;
    color: #004de7;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.hero-btn-outline:hover {
    background: #f8fafc;
    border-color: #93c5fd;
}

/* Center 3D illustration */
.hero-center-art-wrap {
    position: absolute;
    left: 45%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.hero-center-art-wrap img {
    height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 77, 231, 0.15));
}

/* Right side checklist card inside banner */
.hero-promo-glass-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    width: 270px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.hero-promo-title {
    font-size: 0.90rem;
    font-weight: 800;
    color: #004de7;
    margin-bottom: 12px;
}

.hero-promo-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-promo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
}

.hero-promo-item i {
    color: #10b981;
    font-size: 0.88rem;
}

/* Date range selector floating top right */
.hero-date-range-badge {
    position: absolute;
    top: 14px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #dbeafe;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
}

/* ========================================================
   4 TOP METRIC CARDS ROW (PENDING, LABELS, OUT, LOW)
   ======================================================== */
.modern-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    transition: all 0.25s ease;
}

@media (max-width: 1280px) {
    .seller-layout:not(.sidebar-collapsed) .modern-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .modern-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .modern-metrics-grid {
        grid-template-columns: 1fr;
    }
}

.metric-status-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.metric-status-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 6px 16px rgba(0, 77, 231, 0.06);
    transform: translateY(-2px);
}

.metric-card-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.metric-icon-square {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.metric-icon-square.blue {
    background: #eff6ff;
    color: #004de7;
}

.metric-icon-square.purple {
    background: #f5f3ff;
    color: #7c3aed;
}

.metric-icon-square.red {
    background: #fef2f2;
    color: #ef4444;
}

.metric-icon-square.orange {
    background: #fff7ed;
    color: #f97316;
}

.metric-text-group {
    display: flex;
    flex-direction: column;
}

.metric-label-title {
    font-size: 0.70rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 2px;
}

.metric-big-count {
    font-size: 1.45rem;
    font-weight: 800;
    color: #004de7;
    line-height: 1.15;
    margin-bottom: 4px;
}

.metric-big-count.danger {
    color: #ef4444;
}

.metric-link-action {
    font-size: 0.70rem;
    font-weight: 500;
    color: #004de7;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.metric-link-action.danger {
    color: #ef4444;
}

.metric-chevron-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.70rem;
    transition: all 0.15s ease;
}

.metric-status-card:hover .metric-chevron-circle {
    background: #004de7;
    color: #ffffff;
    border-color: #004de7;
}

/* ========================================================
   MIDDLE SECTION: 2 COLUMNS (SALES OVERVIEW + ORDER STATUS)
   ======================================================== */
.modern-dashboard-two-col {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
    transition: all 0.25s ease;
}

@media (max-width: 1366px) {
    .seller-layout:not(.sidebar-collapsed) .modern-dashboard-two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .modern-dashboard-two-col {
        grid-template-columns: 1fr !important;
    }
}

.dash-white-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    position: relative;
}

.card-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.card-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-header-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.card-main-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.card-sub-title {
    font-size: 0.76rem;
    font-weight: 500;
    color: #64748b;
    margin-top: 3px;
}

.card-dropdown-filter {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.74rem;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: inherit;
    transition: all 0.15s ease;
}

.card-dropdown-filter:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* 4 KPI METRIC CARDS ROW */
.sales-overview-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

@media (max-width: 1320px) {
    .seller-layout:not(.sidebar-collapsed) .sales-overview-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .sales-overview-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .sales-overview-metrics-grid {
        grid-template-columns: 1fr;
    }
}

.metric-box-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 14px 14px 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.metric-box-card:hover {
    border-color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.metric-box-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.metric-box-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.metric-box-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.metric-box-label {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.metric-box-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-top: 1px;
}

.metric-box-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2px;
}

.metric-delta {
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.metric-delta.up {
    color: #10b981;
}

.metric-delta.down {
    color: #ef4444;
}

.sparkline-container {
    width: 54px;
    height: 20px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.sparkline-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* BULLET CHART SECTION */
.bullet-chart-section {
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.bullet-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.bullet-chart-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
}

.bullet-chart-title i {
    color: #94a3b8;
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.15s ease;
}

.bullet-chart-title i:hover {
    color: #64748b;
}

.bullet-legend {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bullet-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    color: #475569;
    font-weight: 500;
}

.bullet-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.bullet-legend-dot.current {
    background: #2563eb;
}

.bullet-legend-dot.target {
    background: #93c5fd;
}

.bullet-legend-dot.previous {
    background: #94a3b8;
}

.bullet-rows-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bullet-row-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bullet-row-left {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 155px;
    flex-shrink: 0;
}

.bullet-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.bullet-name-group {
    display: flex;
    flex-direction: column;
}

.bullet-name {
    font-size: 0.74rem;
    color: #475569;
    font-weight: 600;
}

.bullet-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.bullet-bar-col {
    flex: 1;
    position: relative;
    padding-top: 14px;
}

.bullet-target-label {
    position: absolute;
    top: -2px;
    transform: translateX(-50%);
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.bullet-track {
    position: relative;
    width: 100%;
    height: 14px;
    border-radius: 10px;
    overflow: visible;
    display: flex;
    align-items: center;
}

.bullet-target-zone {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 10px 0 0 10px;
    pointer-events: none;
}

.bullet-bar-fill {
    height: 100%;
    border-radius: 10px;
    position: relative;
    z-index: 1;
    transition: width 0.4s ease;
}

.bullet-target-marker {
    position: absolute;
    top: -5px;
    bottom: -5px;
    width: 2px;
    border-left: 2px dashed #475569;
    z-index: 2;
    transform: translateX(-50%);
}

.bullet-row-right {
    width: 75px;
    flex-shrink: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.bullet-pct-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.bullet-pct-sub {
    font-size: 0.68rem;
    font-weight: 500;
    color: #64748b;
}

/* RIGHT CARD: ORDER STATUS & DONUT */
.order-status-body {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 6px 0 18px 0;
}

.donut-chart-container {
    position: relative;
    width: 170px;
    height: 170px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donut-chart-svg-pro {
    width: 170px;
    height: 170px;
}

.donut-center-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.donut-center-val {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.donut-center-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: #64748b;
    margin-top: 3px;
}

.donut-legend-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex: 1;
}

.donut-legend-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.74rem;
}

.legend-label-group {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 80px;
}

.legend-color-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.legend-name {
    color: #1e293b;
    font-weight: 500;
}

.legend-count {
    font-weight: 700;
    color: #0f172a;
    min-width: 22px;
    text-align: right;
}

.legend-pct {
    color: #64748b;
    font-weight: 500;
    min-width: 44px;
    text-align: right;
}

/* ORDER PROGRESS SECTION */
.order-progress-section {
    margin-top: 14px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.order-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.order-progress-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-progress-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
}

.order-progress-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.progress-item-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.74rem;
}

.progress-icon-circle {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    flex-shrink: 0;
}

.progress-name {
    width: 68px;
    font-weight: 500;
    color: #334155;
    flex-shrink: 0;
}

.progress-count {
    width: 22px;
    font-weight: 700;
    color: #0f172a;
    text-align: right;
    flex-shrink: 0;
}

.progress-track {
    flex: 1;
    height: 8px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 4px;
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.4s ease;
}

.progress-pct {
    width: 44px;
    text-align: right;
    font-weight: 500;
    color: #64748b;
    flex-shrink: 0;
}

/* ========================================================
   BOTTOM SECTION: 2 COLUMNS (RECENT ORDERS + TOP PRODUCTS)
   ======================================================== */
.modern-table-clean {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.modern-table-clean th {
    text-align: left;
    padding: 10px 12px;
    font-size: 0.70rem;
    font-weight: 600;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.modern-table-clean td {
    padding: 10px 12px;
    font-size: 0.70rem;
    font-weight: 500;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.modern-table-clean tr:hover td {
    background: #f8fafc;
}

.table-prod-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-prod-img {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    object-fit: cover;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.table-prod-title {
    font-weight: 500;
    color: #0f172a;
    font-size: 0.70rem;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-customer-cell {
    display: flex;
    flex-direction: column;
}

.table-customer-name {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.70rem;
}

.table-customer-city {
    font-size: 0.68rem;
    font-weight: 500;
    color: #64748b;
}

.table-status-pill {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.68rem;
    font-weight: 600;
    display: inline-block;
    text-align: center;
}

.table-status-pill.pending {
    background: #fef3c7;
    color: #d97706;
}

.table-status-pill.packed {
    background: #eff6ff;
    color: #2563eb;
}

.table-status-pill.shipped {
    background: #ecfdf5;
    color: #059669;
}

.table-action-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-table-view {
    background: #eff6ff;
    color: #004de7;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 0.70rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
}

.btn-table-view:hover {
    background: #004de7;
    color: #ffffff;
}

.btn-table-more {
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 3px 6px;
    color: #64748b;
    cursor: pointer;
    font-size: 0.70rem;
}

.btn-table-more:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* TOP SELLING PRODUCTS LIST */
.top-selling-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.top-prod-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.top-prod-row:hover {
    background: #f8fafc;
}

.top-prod-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-prod-rank {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    width: 14px;
}

.top-prod-thumb {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    object-fit: cover;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.top-prod-info {
    display: flex;
    flex-direction: column;
}

.top-prod-name {
    font-size: 0.70rem;
    font-weight: 500;
    color: #0f172a;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-prod-orders-count {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 500;
}

.top-prod-price {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f172a;
}

/* ========================================================
   SIDEBAR COLLAPSED (BIG / SMALL MENU TOGGLE)
   ======================================================== */
.seller-sidebar.collapsed {
    width: 68px !important;
    transition: width 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.seller-sidebar:not(.collapsed) {
    width: 250px;
    transition: width 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.seller-sidebar.collapsed .sidebar-nav-item {
    justify-content: center !important;
    padding: 12px 0 !important;
    margin: 4px 0 !important;
    position: relative !important;
    width: 100% !important;
}

.seller-sidebar.collapsed .nav-item-left {
    justify-content: center !important;
    width: 100% !important;
    gap: 0 !important;
}

.seller-sidebar.collapsed .nav-item-left i {
    font-size: 1.25rem !important;
    margin: 0 !important;
}

/* Hide all text, labels, badges, submenus and chevrons when collapsed */
.seller-sidebar.collapsed .nav-item-left span,
.seller-sidebar.collapsed .sidebar-nav-item > span,
.seller-sidebar.collapsed .sidebar-submenu,
.seller-sidebar.collapsed .nav-badge-pill,
.seller-sidebar.collapsed .sidebar-section-title,
.seller-sidebar.collapsed .sidebar-contact-support-pill,
.seller-sidebar.collapsed .sidebar-nav-item > i.fa-chevron-down,
.seller-sidebar.collapsed .sidebar-nav-item > i.fa-chevron-right {
    display: none !important;
}

/* ========================================================
   DARK THEME SYSTEM (.dark-theme)
   ======================================================== */
body.dark-theme,
.seller-layout.dark-theme {
    background: #0b1120 !important;
    color: #e2e8f0 !important;
}

.dark-theme .seller-sidebar.clean-theme {
    background: #0f172a !important;
    border-right: 1px solid #1e293b !important;
    color: #94a3b8 !important;
}

.dark-theme .modern-seller-header {
    background: #0f172a !important;
    border-bottom: 1px solid #1e293b !important;
    color: #e2e8f0 !important;
}

.dark-theme .header-search-bar {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}

.dark-theme .header-search-bar input {
    color: #f1f5f9 !important;
    background: transparent !important;
}

.dark-theme .header-hamburger-btn {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

.dark-theme .header-hamburger-btn:hover {
    background: #334155 !important;
    color: #ffffff !important;
}

.dark-theme .modern-user-profile-btn {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}

.dark-theme .modern-user-title {
    color: #f8fafc !important;
}

.dark-theme .clean-theme .sidebar-nav-item {
    color: #94a3b8;
}

.dark-theme .clean-theme .sidebar-nav-item:hover {
    background: #1e293b;
    color: #f8fafc;
}

.dark-theme .clean-theme .sidebar-nav-item.active {
    background: #004de7 !important;
    color: #ffffff !important;
}

.dark-theme .dash-modern-container,
.dark-theme .seller-main {
    background: #0b1120 !important;
}

.dark-theme .metric-status-card,
.dark-theme .modern-chart-box,
.dark-theme div[style*="background: #ffffff"],
.dark-theme div[style*="background:#ffffff"] {
    background: #0f172a !important;
    border-color: #1e293b !important;
    color: #e2e8f0 !important;
}

.dark-theme h1,
.dark-theme h2,
.dark-theme h3,
.dark-theme h4,
.dark-theme strong,
.dark-theme .metric-big-count {
    color: #f8fafc !important;
}

.dark-theme .header-popover-menu {
    background: #0f172a !important;
    border-color: #334155 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

.dark-theme .user-menu-item:hover,
.dark-theme .popover-notif-row:hover {
    background: #1e293b !important;
}

/* Dark theme Catalog Upload & Table fixes */
.dark-theme .catalog-page-container,
.dark-theme .catalog-options-box {
    color: #e2e8f0;
}

.dark-theme .catalog-options-title {
    color: #94a3b8;
}

.dark-theme .btn-catalog-outline {
    background: #1e293b;
    border-color: #3b82f6;
    color: #60a5fa;
}

.dark-theme .btn-catalog-outline:hover {
    background: #2563eb;
    color: #ffffff;
}

.dark-theme .catalog-kpi-row {
    background: #0f172a !important;
    border-color: #1e293b !important;
}

.dark-theme .cat-kpi-label {
    color: #94a3b8 !important;
}

.dark-theme .cat-kpi-val {
    color: #f8fafc !important;
}

.dark-theme .orders-tabs-wrapper {
    background: #0f172a !important;
    border-color: #1e293b !important;
}

.dark-theme .orders-tabs-wrapper .order-tab-btn {
    color: #94a3b8;
}

.dark-theme .orders-tabs-wrapper .order-tab-btn.active {
    color: #60a5fa;
    border-bottom-color: #3b82f6;
}

.dark-theme table {
    color: #e2e8f0;
}

.dark-theme table thead tr {
    background: #1e293b !important;
    color: #cbd5e1 !important;
    border-bottom-color: #334155 !important;
}

.dark-theme table tbody tr {
    background: #0f172a !important;
    border-bottom-color: #1e293b !important;
}

.dark-theme table tbody tr:hover {
    background: #1e293b !important;
}

.dark-theme table td {
    color: #e2e8f0 !important;
}

.dark-theme table td[style*="color: #111827"],
.dark-theme table td[style*="color:#111827"] {
    color: #f8fafc !important;
}

.dark-theme table td[style*="color: #4b5563"],
.dark-theme table td[style*="color: #6b7280"] {
    color: #94a3b8 !important;
}

.dark-theme div[style*="background: #fffbeb"],
.dark-theme div[style*="background:#fffbeb"] {
    background: #451a03 !important;
    border-color: #78350f !important;
    color: #fef3c7 !important;
}

.dark-theme div[style*="background: #fffbeb"] span,
.dark-theme div[style*="background: #fffbeb"] strong {
    color: #fde68a !important;
}

.dark-theme div[style*="background: #fffbeb"] i {
    color: #fbbf24 !important;
}

.dark-theme input[type="text"] {
    background: transparent;
    color: #f8fafc;
}

.dark-theme .qc-pill.pass {
    background: #064e3b !important;
    color: #34d399 !important;
}

.dark-theme .qc-pill.error {
    background: #450a0a !important;
    color: #f87171 !important;
}



/* =========================================================================
   ZIEPEE INSTANT PRELOADER & PATIENCE SPINNER ANIMATIONS
   ========================================================================= */
@keyframes ziepeeSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes ziepeePulse {
    0%, 100% { transform: scale(0.94); opacity: 0.92; }
    50% { transform: scale(1.06); opacity: 1; }
}
@keyframes ziepeeBar {
    0% { left: 0%; }
    100% { left: 50%; }
}

/* One2Many Add a Line Button */
.btn-add-line, .o-add-line-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: #eff6ff;
    color: #004de7;
    border: 1.5px dashed #93c5fd;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 77, 231, 0.05);
}
.btn-add-line:hover, .o-add-line-btn:hover {
    background: #dbeafe;
    border-color: #004de7;
    color: #0037a8;
}
