@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --primary-color: #2563eb;
    --text-main: #1e293b;
    --text-muted: #64748b;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Layout */
.admin-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.admin-layout::before,
.admin-layout::after {
    content: "";
    position: fixed;
    z-index: 0;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.admin-layout::before {
    width: 480px;
    height: 480px;
    top: -120px;
    right: -100px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35), transparent 70%);
}

.admin-layout::after {
    width: 420px;
    height: 420px;
    bottom: -140px;
    left: 20%;
    background: radial-gradient(circle, rgba(232, 123, 164, 0.3), transparent 70%);
}

.sidebar, .main-content {
    position: relative;
    z-index: 1;
}

.sidebar {
    width: 260px;
    margin: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 20px;
    height: calc(100vh - 40px);
}

.sidebar-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-align: center;
    text-decoration: none;
    display: block;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-item:hover, .nav-item.active {
    background: rgba(255,255,255, 0.8);
    color: var(--primary-color);
    transform: translateX(5px);
}

.nav-item i {
    font-size: 20px;
}

.nav-badge {
    margin-left: auto;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

.main-content {
    flex: 1;
    padding: 20px 40px 20px 0;
}

/* Header */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    margin-bottom: 30px;
}

.header-title h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.header-title p {
    margin: 5px 0 0;
    color: var(--text-muted);
}

.btn-primary-glass {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary-glass:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    color: white;
}

@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
    }
    .sidebar {
        width: auto;
        height: auto;
        position: static;
        flex-direction: row;
        overflow-x: auto;
        padding: 15px;
        margin: 15px;
    }
    .sidebar-logo {
        margin-bottom: 0;
        margin-right: 20px;
        align-self: center;
    }
    .nav-menu {
        flex-direction: row;
    }
    .main-content {
        padding: 0 15px 20px;
    }
    .top-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}
