* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, sans-serif;
}

body {
    background-color: #0f172a;
    color: #f8fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: #1e293b;
    border-bottom: 1px solid #334155;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #38bdf8;
    text-decoration: none;
}

.desktop-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.desktop-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
}

.desktop-nav a:hover {
    color: #f8fafc;
}

.user-badge {
    background: #334155;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #38bdf8;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #f8fafc;
    font-size: 1.5rem;
    cursor: pointer;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 200;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background-color: #1e293b;
    border-left: 1px solid #334155;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: right 0.3s ease;
    z-index: 201;
}

.mobile-sidebar.open {
    right: 0;
}

.mobile-sidebar a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #334155;
}

.mobile-sidebar .btn-logout {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    margin-top: auto;
}

main {
    flex: 1;
    padding: 2rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.form-card {
    background: #1e293b;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #334155;
    max-width: 400px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #94a3b8;
}

.form-group input {
    width: 100%;
    padding: 0.6rem;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 4px;
    color: #f8fafc;
}

.btn-primary {
    width: 100%;
    padding: 0.75rem;
    background: #0284c7;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary:hover {
    background: #0369a1;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }
    .mobile-menu-btn {
        display: block;
    }
}
