:root {
    --sidebar-width: 260px;
    --primary: #4f46e5;
    --sidebar-bg: #1e1b4b;
}

body.admin-body {
    background: #f4f6fb;
    min-height: 100vh;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e1b4b 0%, #4f46e5 100%);
    padding: 1.5rem;
}


.auth-card {
    width: 100%;
    max-width: 480px;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    color: #fff;
    flex-shrink: 0;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1030;
    transition: transform 0.3s ease;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75);
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.2s;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-width: 0;
}

.content-area .card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
form#orderForm,form#userForm{overflow-y: scroll}

.table-actions {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    white-space: nowrap;
}

.table-actions .btn {
    padding: 0.2rem 0.45rem;
    line-height: 1.2;
}

.table-actions .action-sep {
    color: #adb5bd;
    font-size: 0.75rem;
    user-select: none;
    padding: 0 0.1rem;
}

.entity-view-dl dt {
    font-weight: 600;
    color: #6c757d;
}

.entity-view-dl dd {
    margin-bottom: 0.5rem;
}
.is_displayNone{display:none !important}

@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }
}
