html, body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: "Be Vietnam Pro", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 28%),
        radial-gradient(circle at bottom right, rgba(234, 88, 12, 0.16), transparent 24%),
        var(--bg-app);
    color: var(--text-main);
}

.admin-body,
.login-body {
    min-height: 100vh;
    margin-bottom: 65px;
}

.app-shell {
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 100vh;
}

.sidebar-panel {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    border-right: 1px solid var(--line-soft);
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}
.brand-logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    padding: 5px;
    background: white;
    box-shadow: 0 0 0 6px rgba(245,158,11,.12), 0 15px 35px rgba(245,158,11,.25);
}
/*.brand-badge {
    width: 100px;
    height: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    font-weight: 800;
}*/
.hero-logo {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    background: white;
    padding: 10px;
    margin-bottom: 32px;
    box-shadow: 0 0 0 10px rgba(255,255,255,.15), 0 20px 50px rgba(0,0,0,.18);
}

.brand-title {
    font-size: 1.05rem;
    font-weight: 800;
}

.brand-subtitle {
    color: var(--text-soft);
    font-size: 0.88rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nav-link-panel {
    color: var(--text-main);
    text-decoration: none;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid transparent;
}

.nav-link-panel:hover {
    border-color: rgba(245, 158, 11, 0.35);
    background: #fff;
}

.content-shell {
    padding: 1.5rem;
}

.topbar-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 253, 248, 0.78);
    border: 1px solid var(--line-soft);
}

.page-title {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 800;
    margin: 0.15rem 0 0;
}

.user-pill,
.eyebrow-pill,
.login-hint {
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.12);
    padding: 0.65rem 1rem;
}

.page-content,
.form-card .card-body {
    animation: fadeUp 0.45s ease;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.login-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    max-width: 1040px;
    width: 100%;
    overflow: hidden;
}

.login-copy {
    padding: 3rem;
    background: linear-gradient(135deg, #fff1c7, #fff7e5);
}

.login-copy h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    margin: 1rem 0;
}

.login-form-wrap {
    padding: 3rem;
    background: #fff;
}

.table > :not(caption) > * > * {
    background: transparent;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar-panel {
        border-right: 0;
        border-bottom: 1px solid var(--line-soft);
    }

    .sidebar-nav {
        overflow-x: auto;
        flex-direction: row;
        padding-bottom: 0.5rem;
    }

    .nav-link-panel {
        white-space: nowrap;
    }

    .login-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .topbar-panel,
    .toolbar-wrap,
    .stock-row,
    .cart-row {
        flex-direction: column;
        align-items: stretch;
    }

    .content-shell,
    .sidebar-panel {
        padding: 1rem;
    }

    .login-copy,
    .login-form-wrap {
        padding: 1.5rem;
    }
}
.sidebar-panel {
    overflow: hidden;
    transition: all .3s ease;
}

.app-shell.sidebar-collapsed .sidebar-panel {
    padding: 0;
    border: 0;
}

.app-shell.sidebar-collapsed {
    grid-template-columns: 0 1fr;
}
.sidebar-toggle {
    border: none;
    background: white;
    font-size: 22px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.pending-floating-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    width: 64px;
    height: 64px;
    margin-bottom: 65px;
    border: none;
    border-radius: 50%;
    background: #f59e0b;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.pending-badge {
    position: absolute;
    top: -6px;
    right: -6px;
     width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #dc2626;
    color: white;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pending-popup {
    position: fixed;
    right: 24px;
    bottom: 100px;
    width: 360px;
    max-height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
    overflow: hidden;
    z-index: 9999;
}

.pending-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.pending-popup-body {
    overflow-y: auto;
    max-height: 420px;
}

.pending-order-card {
    display: block;
   padding: 14px 16px;
    border-bottom: 1px solid #f1f1f1;
    text-decoration: none;
    color: inherit;
    transition: .2s;
    ```
}

    .pending-order-card:hover {
        background: #f8fafc;
    }

@media(max-width:768px) {

    ```
    .pending-popup {
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-height: 75vh;
        border-radius: 20px 20px 0 0;
    }

}
