@font-face{font-family:'SiYuanN'; src:url('../fonts/SourceHanSansCN-Normal.otf'); }
:root {
    --primary: #1a56db;
    --primary-dark: #1e429f;
    --primary-light: #e1effe;
    --accent: #0ea5e9;
    --dark: #1e293b;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}
* {
    font-family: 'SiYuanN', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul , li{padding:0px; margin:0px; list-style:none;}
body {
    background: #fff;
    color: var(--dark);
    
}

.clear {clear: both;padding: 0px;margin: 0px;height: 0px;}
.nowrap{display:block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.hoverbig{transition: all 0.8s;}
.hoverbig:hover{transform: scale(1.01);}


/* ===== TOP BAR ===== */
.top-bar {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    font-size: 12px;
    padding: 6px 0;
}

    .top-bar a {
        color: rgba(255,255,255,0.85);
        text-decoration: none;
        margin: 0 12px;
    }

        .top-bar a:hover {
            color: #fff;
        }

    .top-bar .divider {
        opacity: 0.3;
    }

/* ===== HEADER ===== */
.main-header {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

    .logo span {
        color: var(--accent);
    }

    .logo small {
        display: block;
        font-size: 10px;
        color: var(--gray);
        font-weight: 400;
        letter-spacing: 2px;
        text-transform: uppercase;
        margin-top: -4px;
    }

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

    .search-box input {
        width: 100%;
        height: 44px;
        border: 2px solid var(--primary);
        border-radius: 8px;
        padding: 0 50px 0 16px;
        font-size: 14px;
        outline: none;
        transition: box-shadow 0.2s;
    }

        .search-box input:focus {
            box-shadow: 0 0 0 4px var(--primary-light);
        }

    .search-box button {
        position: absolute;
        right: 2px;
        top: 2px;
        height: 40px;
        width: 44px;
        background: var(--primary);
        border: none;
        border-radius: 6px;
        color: #fff;
        font-size: 16px;
        cursor: pointer;
        transition: background 0.2s;
    }

        .search-box button:hover {
            background: var(--primary-dark);
        }

.header-actions {
    text-align: right;
}

    .header-actions a {
        display: inline-block;
        color: var(--dark);
        text-decoration: none;
        margin-left: 20px;
        font-size: 13px;
        position: relative;
    }

        .header-actions a i {
            font-size: 20px;
            display: block;
            margin-bottom: 2px;
            color: var(--primary);
        }

    .header-actions .badge {
        position: absolute;
        top: -6px;
        right: -8px;
        background: var(--danger);
        font-size: 10px;
        padding: 2px 5px;
        border-radius: 10px;
    }

/* ===== NAV ===== */
.main-nav {
    background: var(--primary);
    border: none;
    border-radius: 0;
    margin: 0;
    min-height: 46px;
}

    .main-nav .navbar-nav > li > a {
        color: rgba(255,255,255,0.9) !important;
        font-size: 16px !important;
        font-weight: bold;
        padding: 13px 25px;
        transition: all 0.2s;
    }

        .main-nav .navbar-nav > li > a:hover,
        .main-nav .navbar-nav > li.active > a {
            background: rgba(255,255,255,0.12) !important;
            color: #fff !important;
        }

    .main-nav .navbar-toggle {
        border-color: rgba(255,255,255,0.3);
    }

        .main-nav .navbar-toggle .icon-bar {
            background: #fff;
        }




.cat-dropdown .dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 0 0 8px 8px;
    padding: 0;
    min-width: 220px;
}

    .cat-dropdown .dropdown-menu li a {
        padding: 12px 20px;
        font-size: 13px;
        color: var(--dark);
        border-bottom: 1px solid var(--light-gray);
    }

        .cat-dropdown .dropdown-menu li a:hover {
            background: var(--primary-light);
            color: var(--primary);
        }

        .cat-dropdown .dropdown-menu li a i {
            width: 24px;
            color: var(--primary);
            margin-right: 8px;
        }

/* ===== FOOTER ===== */
.main-footer {
    background: #0f172a;
    color: rgba(255,255,255,0.6);
    padding: 60px 0 0;
    margin-top: 20px;
}

.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-col ul li {
        margin-bottom: 10px;
    }

        .footer-col ul li a {
            color: rgba(255,255,255,0.6);
            text-decoration: none;
            font-size: 13px;
            transition: color 0.2s;
        }

            .footer-col ul li a:hover {
                color: #fff;
            }

.footer-contact p {
    font-size: 13px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 3px;
    width: 16px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

    .footer-social a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255,255,255,0.08);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 14px;
        transition: all 0.2s;
        text-decoration: none;
    }

        .footer-social a:hover {
            background: var(--primary);
            transform: translateY(-2px);
        }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.auth-wrapper {
    width: 100%;
    max-width: 440px;
}

.auth-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(26,86,219,0.15);
    overflow: hidden;
}

.auth-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 40px 40px 30px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .auth-header::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 80%;
        height: 200%;
        background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 70%);
        pointer-events: none;
    }

.auth-logo {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    position: relative;
}

    .auth-logo span {
        color: var(--accent);
    }

    .auth-logo small {
        display: block;
        font-size: 11px;
        font-weight: 400;
        opacity: 0.7;
        letter-spacing: 3px;
        text-transform: uppercase;
        margin-top: 4px;
    }

.auth-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 20px 0 6px;
    position: relative;
}

.auth-header p {
    font-size: 14px;
    opacity: 0.8;
    position: relative;
}

.auth-body {
    padding: 32px 40px;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        font-size: 13px;
        font-weight: 600;
        color: var(--dark);
        margin-bottom: 8px;
        display: block;
    }

.input-wrap {
    position: relative;
}

    .input-wrap i {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--gray);
        font-size: 16px;
        width: 20px;
        text-align: center;
    }

    .input-wrap .form-control {
        height: 48px;
        border: 1.5px solid var(--border);
        border-radius: 10px;
        padding: 0 16px 0 44px;
        font-size: 14px;
        transition: all 0.2s;
        width: 100%;
        outline: none;
    }

        .input-wrap .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 4px var(--primary-light);
        }

    .input-wrap .toggle-pwd {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--gray);
        cursor: pointer;
        font-size: 16px;
    }

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--gray);
}

    .remember-me input {
        width: 16px;
        height: 16px;
        accent-color: var(--primary);
    }

.forgot-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

    .forgot-link:hover {
        text-decoration: underline;
    }

.btn-submit {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(26,86,219,0.3);
    margin-bottom: 20px;
}

    .btn-submit:hover {
        box-shadow: 0 6px 25px rgba(26,86,219,0.4);
        transform: translateY(-1px);
    }

.divider-text {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 13px;
}

    .divider-text::before,
    .divider-text::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--border);
    }

.social-login {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.social-btn {
    flex: 1;
    height: 44px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.2s;
}

    .social-btn:hover {
        border-color: var(--primary);
        background: var(--primary-light);
        color: var(--primary);
    }

    .social-btn i {
        font-size: 18px;
    }

    .social-btn.wechat i {
        color: #07c160;
    }

.auth-footer {
    text-align: center;
    font-size: 14px;
    color: var(--gray);
}

    .auth-footer a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
    }

        .auth-footer a:hover {
            text-decoration: underline;
        }

.back-home {
    text-align: center;
    margin-top: 20px;
}

    .back-home a {
        color: var(--gray);
        text-decoration: none;
        font-size: 13px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: color 0.2s;
    }

        .back-home a:hover {
            color: var(--primary);
        }

/* Toast */
.toast {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--dark);
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .toast.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    .toast i {
        color: var(--success);
    }

.pwd-strength {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.strength-bar {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: var(--border);
    transition: all 0.3s;
}

    .strength-bar.weak {
        background: var(--danger);
    }

    .strength-bar.medium {
        background: var(--warning);
    }

    .strength-bar.strong {
        background: var(--success);
    }

.strength-text {
    font-size: 12px;
    color: var(--gray);
    margin-top: 4px;
}

.agreement {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
}

    .agreement input {
        width: 16px;
        height: 16px;
        accent-color: var(--primary);
        margin-top: 2px;
        flex-shrink: 0;
    }

    .agreement a {
        color: var(--primary);
        text-decoration: none;
    }

        .agreement a:hover {
            text-decoration: underline;
        }
.input-wrap {
    position: relative;
}

    .input-wrap i {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--gray);
        font-size: 16px;
        width: 20px;
        text-align: center;
    }

    .input-wrap .form-control {
        height: 48px;
        border: 1.5px solid var(--border);
        border-radius: 10px;
        padding: 0 16px 0 44px;
        font-size: 14px;
        transition: all 0.2s;
        width: 100%;
        outline: none;
    }

        .input-wrap .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 4px var(--primary-light);
        }

    .input-wrap .toggle-pwd {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--gray);
        cursor: pointer;
        font-size: 16px;
    }

    .input-wrap .btn-code {
        position: absolute;
        right: 6px;
        top: 50%;
        transform: translateY(-50%);
        height: 36px;
        padding: 0 14px;
        background: var(--primary-light);
        color: var(--primary);
        border: none;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    }

        .input-wrap .btn-code:hover {
            background: var(--primary);
            color: #fff;
        }

        .input-wrap .btn-code:disabled {
            background: var(--light-gray);
            color: var(--gray);
            cursor: not-allowed;
        }


/* Step Indicator */
.step-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    gap: 8px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray);
}

    .step-item .step-dot {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--light-gray);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 700;
        color: var(--gray);
        transition: all 0.3s;
    }

    .step-item.active .step-dot {
        background: var(--primary);
        color: #fff;
        box-shadow: 0 4px 12px rgba(26,86,219,0.3);
    }

    .step-item.done .step-dot {
        background: var(--success);
        color: #fff;
    }

.step-line {
    width: 40px;
    height: 2px;
    background: var(--border);
    border-radius: 1px;
}

    .step-line.done {
        background: var(--success);
    }
/* Success State */
.success-state {
    text-align: center;
    padding: 20px 0;
    display: none;
}

    .success-state.show {
        display: block;
    }

.success-icon {
    width: 80px;
    height: 80px;
    background: #ecfdf5;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

    .success-icon i {
        font-size: 36px;
        color: var(--success);
    }

.success-state h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.success-state p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 24px;
}

#checkcodeimg{
    float:right;
    margin-top:-47px;
    margin-right:2px;
    border-radius:0px 10px 10px 0px;
}
.input-wrap #togpwd {
    float: right !important;
    position:relative; 
    margin-right:6%; 
    margin-top:-6%;
}

/* ===== USER SIDEBAR ===== */
.user-sidebar {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 20px;
}

.user-profile-mini {
    padding: 24px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
}

.user-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(26,86,219,0.2);
}

.user-profile-mini .user-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.user-profile-mini .user-level {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 3px 10px;
    border-radius: 20px;
}

.user-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .user-menu > li {
        border-bottom: 1px solid var(--light-gray);
    }

        .user-menu > li:last-child {
            border-bottom: none;
        }

        .user-menu > li > a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 20px;
            color: var(--dark);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.2s;
        }

            .user-menu > li > a:hover,
            .user-menu > li.active > a {
                background: var(--primary-light);
                color: var(--primary);
            }

            .user-menu > li > a i:first-child {
                width: 22px;
                color: var(--primary);
                margin-right: 8px;
                font-size: 15px;
            }

            .user-menu > li > a .arrow {
                color: var(--gray);
                font-size: 12px;
                transition: transform 0.2s;
            }

        .user-menu > li.open > a .arrow {
            transform: rotate(90deg);
        }

    .user-menu .sub-menu {
        list-style: none;
        padding: 0;
        margin: 0;
        background: #fafbfc;
        display: none;
    }

        .user-menu .sub-menu li a {
            display: block;
            padding: 10px 20px 10px 50px;
            color: var(--gray);
            text-decoration: none;
            font-size: 13px;
            transition: all 0.2s;
        }

            .user-menu .sub-menu li a:hover,
            .user-menu .sub-menu li.active a {
                color: var(--primary);
                background: rgba(26,86,219,0.04);
            }

/* ===== MAIN CONTENT ===== */
.dashboard-welcome {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    padding: 28px 32px;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

    .dashboard-welcome::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 60%;
        height: 200%;
        background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 70%);
        pointer-events: none;
    }

    .dashboard-welcome h2 {
        font-size: 22px;
        font-weight: 700;
        margin: 0 0 6px;
        position: relative;
    }

    .dashboard-welcome p {
        font-size: 14px;
        opacity: 0.8;
        margin: 0;
        position: relative;
    }

    .dashboard-welcome .welcome-stats {
        display: flex;
        gap: 30px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.15);
        position: relative;
    }

.welcome-stats .stat {
    text-align: center;
}

.stat .num {
    font-size: 24px;
    font-weight: 800;
    display: block;
}

.stat .label {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 2px;
}

/* Stats Cards */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s;
}

    .stat-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

    .stat-card .icon-box {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        flex-shrink: 0;
    }

.icon-box.blue {
    background: var(--primary-light);
    color: var(--primary);
}

.icon-box.green {
    background: #ecfdf5;
    color: var(--success);
}

.icon-box.orange {
    background: #fffbeb;
    color: var(--warning);
}

.icon-box.red {
    background: #fef2f2;
    color: var(--danger);
}

.stat-card .info h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 2px;
}

.stat-card .info p {
    font-size: 12px;
    color: var(--gray);
    margin: 0;
}

/* Section Card */
.section-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    overflow: hidden;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
}

    .section-header h3 {
        font-size: 16px;
        font-weight: 700;
        color: var(--dark);
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .section-header h3 i {
            color: var(--primary);
        }

    .section-header .more-link {
        font-size: 13px;
        color: var(--primary);
        text-decoration: none;
        font-weight: 500;
    }

        .section-header .more-link:hover {
            text-decoration: underline;
        }

.section-body {
    padding: 20px 24px;
}

/* Order Status Grid */
.order-status-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.status-item {
    text-align: center;
    padding: 16px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: var(--dark);
    position: relative;
}

    .status-item:hover {
        background: var(--light-gray);
    }

    .status-item .icon-wrap {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        margin-bottom: 8px;
        position: relative;
    }

.icon-wrap.blue {
    background: var(--primary-light);
    color: var(--primary);
}

.icon-wrap.orange {
    background: #fffbeb;
    color: var(--warning);
}

.icon-wrap.green {
    background: #ecfdf5;
    color: var(--success);
}

.icon-wrap.purple {
    background: #f3e8ff;
    color: #9333ea;
}

.icon-wrap.gray {
    background: var(--light-gray);
    color: var(--gray);
}

.status-item .badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
}

.status-item .name {
    font-size: 13px;
    font-weight: 500;
    display: block;
}

/* Recent Orders */
.order-table {
    width: 100%;
    border-collapse: collapse;
}

    .order-table th {
        text-align: left;
        padding: 12px 16px;
        font-size: 12px;
        font-weight: 600;
        color: var(--gray);
        background: var(--light-gray);
        border-bottom: 1px solid var(--border);
    }

    .order-table td {
        padding: 16px;
        font-size: 13px;
        color: var(--dark);
        border-bottom: 1px solid var(--border);
        vertical-align: middle;
    }

    .order-table tr:last-child td {
        border-bottom: none;
    }

    .order-table tr:hover td {
        background: #fafbfc;
    }

    .order-table .order-id {
        font-weight: 600;
        color: var(--primary);
    }

    .order-table .status {
        display: inline-block;
        padding: 3px 10px;
        border-radius: 20px;
        font-size: 11px;
        font-weight: 600;
    }

.status.pending {
    background: #fffbeb;
    color: var(--warning);
}

.status.paid {
    background: var(--primary-light);
    color: var(--primary);
}

.status.shipped {
    background: #ecfdf5;
    color: var(--success);
}

.status.done {
    background: var(--light-gray);
    color: var(--gray);
}

.order-table .btn-sm {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn-sm.primary {
    background: var(--primary);
    color: #fff;
}

.btn-sm.default {
    background: var(--light-gray);
    color: var(--gray);
}

/* Favorites Grid */
.fav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.fav-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: var(--dark);
}

    .fav-item:hover {
        border-color: var(--primary);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }

    .fav-item .fav-img {
        width: 100%;
        height: 140px;
        object-fit: cover;
        background: var(--light-gray);
    }

    .fav-item .fav-info {
        padding: 12px;
    }

.fav-info h5 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fav-info .fav-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.fav-price .original {
    font-size: 11px;
    color: var(--gray);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 4px;
}

/* Distribution Preview */
.dist-preview {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

    .dist-preview .dist-info h4 {
        font-size: 16px;
        font-weight: 700;
        color: var(--dark);
        margin: 0 0 6px;
    }

    .dist-preview .dist-info p {
        font-size: 13px;
        color: var(--gray);
        margin: 0;
    }

    .dist-preview .dist-stats {
        display: flex;
        gap: 24px;
    }

.dist-stats .d-stat {
    text-align: center;
}

.d-stat .num {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    display: block;
}

.d-stat .label {
    font-size: 11px;
    color: var(--gray);
    margin-top: 2px;
}

.dist-preview .btn-enter {
    padding: 10px 24px;
    background: var(--dark);
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-enter:hover {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
}

/* Account Security */
.security-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.sec-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.2s;
}

    .sec-item:hover {
        border-color: var(--primary);
        box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    }

    .sec-item .sec-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        flex-shrink: 0;
    }

.sec-icon.ok {
    background: #ecfdf5;
    color: var(--success);
}

.sec-icon.warn {
    background: #fffbeb;
    color: var(--warning);
}

.sec-item .sec-info {
    flex: 1;
}

.sec-info h5 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 2px;
}

.sec-info p {
    font-size: 12px;
    color: var(--gray);
    margin: 0;
}

.sec-item .sec-action {
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.sec-action:hover {
    text-decoration: underline;
}
#leftarrow {
    position:absolute; left:-4px; top:65%;
    color:#1a56db; width:15px; height:60px; background:rgba(0,0,0,0.06); font-size:12px;
    border-radius:40px;
    text-align:center; border-radius:0px 5px 5px 0px;
    line-height:60px; z-index:100;
}

/* ===== MOBILE FIXES ===== */
@media (max-width: 767px) {
    .top-bar {
        text-align: center;
    }

        .top-bar .pull-right {
            float: none !important;
            display: block;
            margin-top: 4px;
        }

    .logo {
        text-align: center;
        margin-bottom: 10px;
    }

    .search-box {
        margin: 10px 0;
    }

    .header-actions {
        text-align: center;
        margin-top: 10px;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .order-status-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .fav-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-list {
        grid-template-columns: 1fr;
    }

    .dist-preview {
        flex-direction: column;
        text-align: center;
    }

    .welcome-stats {
        gap: 16px;
    }

    .section-body {
        padding: 16px;
    }

    .order-table {
        display: block;
        overflow-x: auto;
    }

    .footer-col {
        margin-bottom: 30px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .fav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .auth-body {
        padding: 24px;
    }

    .auth-header {
        padding: 30px 24px 24px;
    }
}