/* ============================================================
   B2BCOP - Professional Theme Stylesheet
   Modern Purple/Gold Design System with Bootstrap 5
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    --clr-primary:       #5b21b6;
    --clr-primary-dark:  #4c1d95;
    --clr-primary-light: #7c3aed;
    --clr-primary-soft:  #ede9fe;
    --clr-accent:        #f59e0b;
    --clr-accent-hover:  #d97706;
    --clr-accent-soft:   #fef3c7;
    --clr-bg:            #f8fafc;
    --clr-card:          #ffffff;
    --clr-dark:          #0f172a;
    --clr-sidebar:       #1e1b4b;
    --clr-text:          #1e293b;
    --clr-text-muted:    #64748b;
    --clr-border:        #e2e8f0;
    --clr-danger:        #ef4444;
    --clr-success:       #22c55e;
    --clr-info:          #3b82f6;
    --clr-warning:       #f59e0b;
    --sidebar-width:     260px;
    --navbar-height:     64px;
    --radius-sm:         6px;
    --radius-md:         10px;
    --radius-lg:         16px;
    --radius-xl:         20px;
    --shadow-sm:         0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:         0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg:         0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-xl:         0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.06);
    --transition:        all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Global ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--clr-bg);
    color: var(--clr-text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--clr-primary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--clr-primary-dark);
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* ---------- Utility Classes ---------- */
.text-accent  { color: var(--clr-accent) !important; }
.bg-accent    { background-color: var(--clr-accent) !important; }
.text-light-muted { color: #94a3b8 !important; }
.bg-primary-purple { background-color: var(--clr-primary) !important; }

/* ============================================================
   NAVBAR
   ============================================================ */
.b2b-navbar {
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%) !important;
    min-height: var(--navbar-height);
    padding: 0 1.25rem;
    box-shadow: 0 4px 20px rgba(91, 33, 182, 0.25);
    z-index: 1050;
    border: none;
}
.b2b-navbar .brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;
}
.b2b-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 0.5rem 0.75rem !important;
    border-radius: var(--radius-sm);
}
.b2b-navbar .nav-link:hover {
    color: var(--clr-accent) !important;
    background: rgba(255,255,255,0.08);
}
.b2b-navbar .navbar-search-form {
    max-width: 480px;
    width: 100%;
}
.b2b-navbar .navbar-search-form .form-control {
    border: 2px solid rgba(255,255,255,0.25);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    background: #ffffff;
    color: var(--clr-text);
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
}
.b2b-navbar .navbar-search-form .form-control::placeholder {
    color: #94a3b8;
}
.b2b-navbar .navbar-search-form .form-control:focus {
    background: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.3);
    border-color: var(--clr-accent);
    color: var(--clr-text);
}
.b2b-navbar .dropdown-menu {
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    margin-top: 0.5rem;
    animation: dropdownFade 0.2s ease;
}
.b2b-navbar .dropdown-item {
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
    transition: var(--transition);
}
.b2b-navbar .dropdown-item:hover {
    background-color: var(--clr-primary-soft);
    color: var(--clr-primary);
}

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

/* Navbar icon links */
.nav-icon-link {
    padding: 0.45rem 0.6rem !important;
    border-radius: var(--radius-sm);
    margin: 0 1px;
    transition: var(--transition);
}
.nav-icon-link.active-icon {
    background: rgba(245, 158, 11, 0.2) !important;
    color: var(--clr-accent) !important;
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.3);
}
.nav-icon-link:hover {
    background: rgba(255,255,255,0.12) !important;
    color: var(--clr-accent) !important;
}

/* Cart icon badge */
.cart-icon-link {
    color: var(--clr-accent) !important;
    font-size: 1.2rem;
    position: relative;
}
.cart-icon-link .badge {
    font-size: 0.6rem;
    background-color: var(--clr-accent) !important;
    color: #1a1a1a;
    font-weight: 700;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: 0.2px;
}

.btn-primary,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
    border: none;
    color: #fff;
    box-shadow: 0 2px 8px rgba(91, 33, 182, 0.3);
}
.btn-primary:hover,
.btn-primary:active {
    background: linear-gradient(135deg, var(--clr-primary-dark), var(--clr-primary));
    box-shadow: 0 4px 12px rgba(91, 33, 182, 0.4);
    transform: translateY(-1px);
    color: #fff;
}

.btn-accent,
.btn-accent:focus,
.btn-warning {
    background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-hover));
    border: none;
    color: #1a1a1a;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}
.btn-accent:hover,
.btn-accent:active,
.btn-warning:hover {
    background: linear-gradient(135deg, var(--clr-accent-hover), #b45309);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    color: #1a1a1a;
}

.btn-cart {
    background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-hover));
    border: none;
    color: #1a1a1a;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.btn-cart:hover {
    background: linear-gradient(135deg, var(--clr-accent-hover), #b45309);
    transform: translateY(-1px);
    color: #1a1a1a;
}

.btn-outline-accent {
    border: 2px solid var(--clr-accent);
    color: var(--clr-accent);
    background: transparent;
}
.btn-outline-accent:hover {
    background-color: var(--clr-accent);
    color: #1a1a1a;
}

.btn-outline-secondary {
    border-color: var(--clr-border);
    color: var(--clr-text-muted);
}
.btn-outline-secondary:hover {
    background-color: var(--clr-bg);
    border-color: #cbd5e1;
    color: var(--clr-text);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-md);
}

.b2b-card {
    background: var(--clr-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--clr-border);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-card {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--clr-primary-soft);
}
.product-card .product-image-wrap {
    background: linear-gradient(135deg, #faf5ff 0%, #f8fafc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    min-height: 200px;
}
.product-card .product-image {
    max-height: 200px;
    max-width: 100%;
    object-fit: contain;
}
.product-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.15rem;
}
.product-card .product-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .product-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 0.5rem;
}
.product-card .product-price .original-price {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: var(--clr-text-muted);
    font-weight: 400;
    margin-left: 0.5rem;
}
.product-card .card-actions {
    margin-top: auto;
    display: flex;
    gap: 0.5rem;
}

/* Product image for catalog grid/list */
.product-img {
    height: 180px;
    object-fit: contain;
    padding: 15px;
    background: linear-gradient(135deg, #faf5ff 0%, #f8fafc 100%);
}

/* Wishlist heart */
.wishlist-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: #cbd5e1;
    transition: var(--transition);
    z-index: 5;
    box-shadow: var(--shadow-sm);
}
.wishlist-heart:hover,
.wishlist-heart.active {
    color: #ef4444;
    transform: scale(1.1);
}
.wishlist-heart.active {
    background: #fef2f2;
}
.wishlist-heart:hover i {
    color: #ef4444 !important;
}

/* Sale badge */
.sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
}

/* ============================================================
   GRID / LIST VIEW TOGGLE
   ============================================================ */
.view-toggle .btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.9rem;
}
.view-toggle .btn.active {
    background-color: var(--clr-primary);
    color: #fff;
    border-color: var(--clr-primary);
}

/* List view layout */
.product-list .product-card {
    flex-direction: row;
    align-items: center;
}
.product-list .product-card .product-image-wrap {
    width: 180px;
    min-height: 140px;
    flex-shrink: 0;
}
.product-list .product-card .product-image {
    max-height: 140px;
}

/* ============================================================
   QUANTITY SELECTOR
   ============================================================ */
.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.qty-selector .qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--clr-bg);
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.qty-selector .qty-btn:hover {
    background: var(--clr-primary-soft);
    color: var(--clr-primary);
}
.qty-selector .qty-input {
    width: 48px;
    height: 36px;
    border: none;
    border-left: 1px solid var(--clr-border);
    border-right: 1px solid var(--clr-border);
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    -moz-appearance: textfield;
}
.qty-selector .qty-input::-webkit-inner-spin-button,
.qty-selector .qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-selector .form-control {
    border-left: 0;
    border-right: 0;
}
.qty-selector .btn {
    z-index: 0;
}

/* ============================================================
   CART TABLE
   ============================================================ */
.cart-table th {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
    color: #fff;
    font-weight: 600;
    border: none;
}
.cart-table td {
    vertical-align: middle;
}
.cart-table .cart-product-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}
.cart-summary {
    background: var(--clr-card);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}
.cart-summary h5 {
    font-weight: 700;
    border-bottom: 3px solid var(--clr-accent);
    padding-bottom: 0.75rem;
}

/* ============================================================
   DASHBOARD STAT CARDS
   ============================================================ */
.stat-card {
    background: var(--clr-card);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--clr-primary);
    transition: var(--transition);
    border-top: none;
    border-right: none;
    border-bottom: none;
}
.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--clr-primary);
    line-height: 1.2;
}
.stat-card .stat-label {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.75px;
    font-weight: 600;
}
.stat-card .stat-icon {
    font-size: 2.5rem;
    color: var(--clr-accent);
    opacity: 0.5;
}

/* Alternate border colors */
.stat-card.accent  { border-left-color: var(--clr-accent); }
.stat-card.success { border-left-color: var(--clr-success); }
.stat-card.danger  { border-left-color: var(--clr-danger); }

/* ============================================================
   ADMIN SIDEBAR
   ============================================================ */
.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, var(--clr-sidebar) 0%, #0f0a2e 100%);
    overflow-y: auto;
    z-index: 1040;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.admin-sidebar::-webkit-scrollbar {
    width: 4px;
}
.admin-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
}
.admin-sidebar .sidebar-header {
    padding: 1.5rem 1.25rem;
    background: rgba(0,0,0,0.2);
    text-align: center;
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
}
.admin-sidebar .sidebar-brand {
    text-decoration: none;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}
.admin-sidebar .sidebar-brand .brand-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--clr-accent);
    letter-spacing: 1.5px;
}
.admin-sidebar .sidebar-brand .brand-sub {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.admin-sidebar .sidebar-menu {
    list-style: none;
    padding: 0.75rem 0;
    margin: 0;
}
.admin-sidebar .sidebar-item {
    margin: 2px 0.5rem;
}
.admin-sidebar .sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    border-left: 3px solid transparent;
}
.admin-sidebar .sidebar-link:hover {
    background: rgba(255,255,255,0.08);
    color: var(--clr-accent);
    text-decoration: none;
}
.admin-sidebar .sidebar-item.active .sidebar-link {
    background: rgba(245, 158, 11, 0.12);
    color: var(--clr-accent);
    border-left-color: var(--clr-accent);
    font-weight: 600;
}
.admin-sidebar .sidebar-link i {
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}
.admin-sidebar .sidebar-item.active .sidebar-link i {
    opacity: 1;
}
.admin-sidebar .sidebar-divider {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 0.75rem 1rem;
}
.admin-sidebar .text-danger-light {
    color: #fca5a5 !important;
}
.admin-sidebar .text-danger-light:hover {
    color: #f87171 !important;
}

/* Admin content area */
.admin-content {
    margin-left: var(--sidebar-width);
    padding: 1.75rem;
    min-height: 100vh;
}

/* Sidebar toggle button (mobile) */
.sidebar-toggle {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1060;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

/* ============================================================
   FEATURE BAR
   ============================================================ */
.feature-bar {
    background: #fff;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}
.feature-item {
    padding: 0.5rem;
    transition: var(--transition);
}
.feature-item:hover {
    transform: translateY(-2px);
}
.feature-item h6 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    color: var(--clr-text);
}

/* ============================================================
   FOOTER
   ============================================================ */
.b2b-footer {
    background: linear-gradient(180deg, var(--clr-dark) 0%, #020617 100%);
    color: #cbd5e1;
}
.b2b-footer h5,
.b2b-footer h6 {
    color: var(--clr-accent);
    font-weight: 700;
}
.footer-links li {
    margin-bottom: 0.5rem;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: var(--clr-accent);
    padding-left: 4px;
}
.footer-contact a,
.footer-contact span {
    color: #94a3b8;
    font-size: 0.9rem;
}
.footer-contact a:hover {
    color: var(--clr-accent);
}

/* ============================================================
   TABLES
   ============================================================ */
.table-b2b thead th {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
    color: #fff;
    font-weight: 600;
    border: none;
    font-size: 0.88rem;
    padding: 0.85rem;
}
.table-b2b tbody tr {
    transition: var(--transition);
}
.table-b2b tbody tr:hover {
    background-color: var(--clr-primary-soft);
}

/* Purple table header (used in orders, approval pages) */
.table-purple {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark)) !important;
    color: #fff !important;
}
.table-purple th {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark)) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.1) !important;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    padding: 0.85rem;
}

.table td {
    vertical-align: middle;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-control,
.form-select {
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    padding: 0.6rem 0.85rem;
    transition: var(--transition);
    color: var(--clr-text);
}
.form-control:focus,
.form-select:focus {
    border-color: var(--clr-primary-light);
    box-shadow: 0 0 0 0.2rem rgba(91, 33, 182, 0.12);
}
.form-label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--clr-text);
    margin-bottom: 0.4rem;
}
.input-group-text {
    background: var(--clr-bg);
    border-color: var(--clr-border);
    color: var(--clr-text-muted);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.page-item.active .page-link {
    background-color: var(--clr-primary);
    border-color: var(--clr-primary);
}
.page-link {
    color: var(--clr-primary);
    transition: var(--transition);
}
.page-link:hover {
    color: var(--clr-primary-dark);
}

/* ============================================================
   NAV PILLS (Category tabs)
   ============================================================ */
.nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
    border: none;
    color: #fff;
    box-shadow: 0 2px 8px rgba(91, 33, 182, 0.3);
}
.nav-pills .nav-link {
    color: var(--clr-text-muted);
    white-space: nowrap;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-pills .nav-link:hover {
    color: var(--clr-primary);
    background: var(--clr-primary-soft);
}
#categoryTabs {
    scrollbar-width: thin;
}
#categoryTabs::-webkit-scrollbar {
    height: 4px;
}
#categoryTabs::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
    z-index: 1090;
}
.b2b-toast {
    min-width: 300px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: none;
    backdrop-filter: blur(8px);
    animation: slideInRight 0.3s ease;
}
.b2b-toast.toast-success {
    border-left: 4px solid var(--clr-success);
}
.b2b-toast.toast-error {
    border-left: 4px solid var(--clr-danger);
}
.b2b-toast.toast-warning {
    border-left: 4px solid var(--clr-accent);
}
.b2b-toast .toast-body {
    font-size: 0.9rem;
    padding: 0.85rem 1rem;
    font-weight: 500;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    border: none;
    font-weight: 500;
}
.alert-success {
    background: #f0fdf4;
    color: #166534;
    border-left: 4px solid var(--clr-success);
}
.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border-left: 4px solid var(--clr-danger);
}

/* ============================================================
   AUTH PAGES (Login, Forgot Password, Reset Password)
   ============================================================ */
.auth-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5b21b6 0%, #3b0764 40%, #1e0a3c 100%);
    position: relative;
    overflow: hidden;
}
.auth-page::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.08);
    pointer-events: none;
}
.auth-page::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.1);
    pointer-events: none;
}

.auth-container {
    width: 100%;
    max-width: 440px;
    padding: 1rem;
    position: relative;
    z-index: 1;
    animation: authFadeIn 0.5s ease;
}

@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.auth-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.auth-header {
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-light) 100%);
    padding: 2rem 2rem 1.75rem;
    text-align: center;
    position: relative;
}
.auth-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 20px;
    background: #fff;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.auth-header .brand-name {
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 3px;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}
.auth-header .brand-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 1px;
    font-weight: 400;
    text-transform: uppercase;
}

.auth-body {
    padding: 1.75rem 2rem 1.5rem;
}
.auth-body h5 {
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 1.15rem;
}
.auth-body .subtitle {
    color: var(--clr-text-muted);
    font-size: 0.88rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-input-group {
    position: relative;
    margin-bottom: 1.15rem;
}
.auth-input-group .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    z-index: 5;
    font-size: 0.9rem;
    transition: var(--transition);
}
.auth-input-group .form-control {
    border: 2px solid var(--clr-border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    height: 52px;
    font-size: 0.95rem;
    background: var(--clr-bg);
    transition: var(--transition);
}
.auth-input-group .form-control:focus {
    border-color: var(--clr-primary-light);
    box-shadow: 0 0 0 3px rgba(91, 33, 182, 0.1);
    background: #fff;
}
.auth-input-group .form-control:focus + .input-icon,
.auth-input-group .form-control:focus ~ .input-icon {
    color: var(--clr-primary);
}

.btn-auth {
    background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-hover));
    border: none;
    color: #1a1a1a;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.85rem;
    border-radius: var(--radius-sm);
    width: 100%;
    transition: var(--transition);
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}
.btn-auth:hover {
    background: linear-gradient(135deg, var(--clr-accent-hover), #b45309);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
    color: #1a1a1a;
}

.auth-footer {
    text-align: center;
    padding: 0 2rem 1.75rem;
}
.auth-footer a {
    color: var(--clr-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}
.auth-footer a:hover {
    color: var(--clr-primary-dark);
}

.auth-back-link {
    text-align: center;
    margin-top: 1.25rem;
}
.auth-back-link a {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}
.auth-back-link a:hover {
    color: rgba(255,255,255,0.9);
}

/* Flash messages on auth pages */
.auth-flash {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 1050;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
}

/* ============================================================
   LANDING PAGE
   ============================================================ */
.landing-navbar {
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(91, 33, 182, 0.25);
}
.landing-navbar .brand-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
}
.landing-navbar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
}
.landing-navbar .nav-link:hover {
    color: var(--clr-accent) !important;
    background: rgba(255,255,255,0.08);
}
.btn-login-nav {
    background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-hover));
    color: #1a1a1a;
    font-weight: 700;
    border: none;
    padding: 0.5rem 1.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}
.btn-login-nav:hover {
    background: linear-gradient(135deg, var(--clr-accent-hover), #b45309);
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.45);
}

.hero-section {
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 40%, #1e0a3c 100%);
    min-height: 540px;
    display: flex;
    align-items: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.06);
    pointer-events: none;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.08);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-content h1 {
    font-size: 3.25rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.hero-content h1 .accent-text {
    color: var(--clr-accent);
    display: inline-block;
}
.hero-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}
.hero-content .tagline {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}
.btn-cta {
    background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-hover));
    color: #1a1a1a;
    font-weight: 800;
    font-size: 1.05rem;
    border: none;
    padding: 0.9rem 2.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
    letter-spacing: 0.3px;
}
.btn-cta:hover {
    background: linear-gradient(135deg, var(--clr-accent-hover), #b45309);
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
    text-decoration: none;
}

.hero-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.illustration-box {
    width: 100%;
    max-width: 400px;
    height: 320px;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(245,158,11,0.08));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    backdrop-filter: blur(8px);
}
.illustration-box i {
    font-size: 4rem;
    color: var(--clr-accent);
    opacity: 0.7;
}
.illustration-box .ill-text {
    color: rgba(255,255,255,0.35);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.features-bar {
    background: #fff;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    padding: 3rem 0;
}
.feature-card {
    text-align: center;
    padding: 1rem 0.5rem;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
}
.feature-card i {
    font-size: 2.2rem;
    color: var(--clr-accent);
    margin-bottom: 0.75rem;
}
.feature-card h6 {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--clr-text);
    margin-bottom: 0.35rem;
}
.feature-card p {
    color: var(--clr-text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.why-section {
    padding: 5rem 0;
    background: var(--clr-bg);
}
.why-section h2 {
    font-weight: 900;
    color: var(--clr-primary);
    margin-bottom: 3rem;
    text-align: center;
    font-size: 2rem;
}
.why-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 2.25rem 1.75rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--clr-border);
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--clr-primary-soft);
}
.why-card i {
    font-size: 2.5rem;
    color: var(--clr-primary);
    margin-bottom: 1rem;
}
.why-card h5 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--clr-text);
}
.why-card p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.cta-banner {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.08);
    pointer-events: none;
}
.cta-banner h2 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.75rem;
    font-size: 2rem;
}
.cta-banner p {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
}

/* Landing Footer */
.landing-footer {
    background: linear-gradient(180deg, var(--clr-dark) 0%, #020617 100%);
    color: #cbd5e1;
    padding: 3.5rem 0 1.5rem;
}
.landing-footer h5 {
    color: var(--clr-accent);
    font-weight: 800;
    margin-bottom: 1rem;
}
.landing-footer h6 {
    color: var(--clr-accent);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.landing-footer p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.7;
}
.landing-footer .footer-links {
    list-style: none;
    padding: 0;
}
.landing-footer .footer-links li {
    margin-bottom: 0.5rem;
}
.landing-footer .footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}
.landing-footer .footer-links a:hover {
    color: var(--clr-accent);
    padding-left: 4px;
}
.landing-footer .footer-contact {
    list-style: none;
    padding: 0;
}
.landing-footer .footer-contact li {
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}
.landing-footer .footer-contact a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}
.landing-footer .footer-contact a:hover {
    color: var(--clr-accent);
}
.landing-footer .footer-contact i {
    color: var(--clr-accent);
    width: 20px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.25rem;
    margin-top: 2.5rem;
    text-align: center;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}

/* ============================================================
   DASHBOARD PAGE
   ============================================================ */
.dashboard-profile-card {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 1.75rem;
    text-align: center;
    border: 1px solid var(--clr-border);
}
.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(91, 33, 182, 0.3);
}
.profile-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 0.25rem;
}
.profile-email {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    margin-bottom: 0.5rem;
}
.role-badge {
    display: inline-block;
    padding: 0.25rem 0.85rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
}
.role-badge.employee { background: #dcfce7; color: #166534; }
.role-badge.approver { background: #fef3c7; color: #92400e; }
.role-badge.admin    { background: #fce7f3; color: #9d174d; }

.company-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--clr-border);
}
.company-info .info-item {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    margin-bottom: 0.4rem;
}
.company-info .info-item i {
    width: 20px;
    color: var(--clr-accent);
}

.category-section h5 {
    font-weight: 800;
    color: var(--clr-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.category-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: var(--transition);
    min-height: 65px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.category-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}
.cat-color-0 { background: linear-gradient(135deg, #5b21b6, #7c3aed); color: #fff; }
.cat-color-0:hover { color: #fff; }
.cat-color-1 { background: linear-gradient(135deg, #d97706, #f59e0b); color: #1a1a1a; }
.cat-color-1:hover { color: #1a1a1a; }
.cat-color-2 { background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff; }
.cat-color-2:hover { color: #fff; }
.cat-color-3 { background: linear-gradient(135deg, #16a34a, #22c55e); color: #fff; }
.cat-color-3:hover { color: #fff; }
.cat-color-4 { background: linear-gradient(135deg, #dc2626, #ef4444); color: #fff; }
.cat-color-4:hover { color: #fff; }
.cat-color-5 { background: linear-gradient(135deg, #9333ea, #a855f7); color: #fff; }
.cat-color-5:hover { color: #fff; }
.cat-color-6 { background: linear-gradient(135deg, #0d9488, #14b8a6); color: #fff; }
.cat-color-6:hover { color: #fff; }
.cat-color-7 { background: linear-gradient(135deg, #78350f, #92400e); color: #fff; }
.cat-color-7:hover { color: #fff; }

/* Pending orders table in dashboard */
.pending-table th {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
}
.pending-table td {
    font-size: 0.85rem;
    vertical-align: middle;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.status-badge.pending    { background: #fef3c7; color: #92400e; }
.status-badge.approved   { background: #dcfce7; color: #166534; }
.status-badge.processing { background: #dbeafe; color: #1e40af; }
.status-badge.delivered  { background: #ede9fe; color: #5b21b6; }
.status-badge.rejected   { background: #fce7f3; color: #9d174d; }

.budget-card {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 1.25rem;
    border: 1px solid var(--clr-border);
}
.budget-dept {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--clr-text);
    margin-bottom: 0.5rem;
}
.budget-amounts {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    margin-bottom: 0.35rem;
}

/* ============================================================
   ORDER TIMELINE
   ============================================================ */
.order-timeline {
    position: relative;
    padding-left: 30px;
}
.order-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--clr-border);
}
.timeline-step {
    position: relative;
    padding-bottom: 24px;
}
.timeline-step:last-child {
    padding-bottom: 0;
}
.timeline-dot {
    position: absolute;
    left: -25px;
    top: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--clr-border);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--clr-border);
    z-index: 1;
    transition: var(--transition);
}
.timeline-step.completed .timeline-dot {
    background: var(--clr-success);
    box-shadow: 0 0 0 2px var(--clr-success);
}
.timeline-step.current .timeline-dot {
    background: var(--clr-accent);
    box-shadow: 0 0 0 3px var(--clr-accent);
    animation: pulse-dot 1.5s infinite;
}
.timeline-step.rejected .timeline-dot {
    background: var(--clr-danger);
    box-shadow: 0 0 0 2px var(--clr-danger);
}
.timeline-step.cancelled .timeline-dot {
    background: #1e293b;
    box-shadow: 0 0 0 2px #1e293b;
}
.timeline-content {
    font-size: 0.9rem;
}
.timeline-step:not(.completed) .timeline-content strong {
    color: #94a3b8;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 3px var(--clr-accent); }
    50%      { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.25); }
}

/* ============================================================
   ERROR PAGES
   ============================================================ */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #faf5ff 0%, var(--clr-bg) 100%);
}
.error-code {
    font-size: 8rem;
    font-weight: 900;
    color: var(--clr-primary);
    line-height: 1;
    letter-spacing: -2px;
}
.error-subheading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--clr-primary-dark);
}
.error-message {
    color: var(--clr-text-muted);
    font-size: 1.05rem;
}
.btn-dashboard {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
    border: none;
    color: #fff;
    padding: 0.7rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(91, 33, 182, 0.3);
}
.btn-dashboard:hover {
    background: linear-gradient(135deg, var(--clr-primary-dark), var(--clr-primary));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(91, 33, 182, 0.4);
}
.link-login {
    color: var(--clr-accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}
.link-login:hover {
    color: var(--clr-accent-hover);
}
.exception-detail {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.5rem;
    color: #991b1b;
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto;
    word-break: break-word;
    box-shadow: var(--shadow-sm);
}

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.progress {
    border-radius: 10px;
    background-color: var(--clr-border);
    overflow: hidden;
}
.progress-bar {
    transition: width 0.6s ease;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.3px;
    padding: 0.35em 0.65em;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumb {
    font-size: 0.88rem;
}
.breadcrumb-item a {
    color: var(--clr-primary);
}
.breadcrumb-item.active {
    color: var(--clr-text-muted);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-content {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}
.modal-header {
    border-bottom: 1px solid var(--clr-border);
    padding: 1rem 1.25rem;
}
.modal-footer {
    border-top: 1px solid var(--clr-border);
    padding: 1rem 1.25rem;
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    .b2b-navbar, .breadcrumb, .feature-bar, .b2b-footer,
    .btn, form, .toast-container, .cancel-form,
    .admin-sidebar, .sidebar-toggle { display: none !important; }
    .card { border: 1px solid #ddd !important; box-shadow: none !important; }
    .col-lg-9 { width: 100% !important; }
    .col-lg-3 { display: none !important; }
    .admin-content { margin-left: 0 !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    .admin-sidebar.show {
        transform: translateX(0);
    }
    .admin-content {
        margin-left: 0;
    }
    .sidebar-toggle {
        display: flex;
    }

    .product-list .product-card {
        flex-direction: column;
    }
    .product-list .product-card .product-image-wrap {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .b2b-navbar .navbar-search-form {
        max-width: 100%;
        margin: 0.5rem 0;
    }

    .stat-card .stat-number {
        font-size: 1.5rem;
    }

    .feature-item h6 {
        font-size: 0.8rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    .hero-illustration {
        margin-top: 2rem;
    }
    .illustration-box {
        height: 200px;
    }

    .auth-body {
        padding: 1.5rem;
    }
    .auth-header {
        padding: 1.5rem 1.5rem 1.25rem;
    }
    .auth-footer {
        padding: 0 1.5rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .product-card .product-image-wrap {
        min-height: 150px;
    }
    .product-card .product-image {
        max-height: 150px;
    }
    .product-img {
        height: 150px;
    }
}
