/* Main Dashboard Style */
/* Premium Theme Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-gradient: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --text-color: #333;
    --text-light: #6c757d;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: #f8f9fa;
    /* Default for dashboard */
}

/* Auth Specific Styles */
body.auth-page {
    background: var(--bg-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.glass-card {
    background: var(--glass-bg);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: var(--glass-border);
    padding: 40px;
    color: white;
}

.glass-card h1 {
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
    text-align: center;
}

.glass-card p.subtitle {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.glass-card .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 12px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.glass-card .form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #764ba2;
    box-shadow: 0 0 0 4px rgba(118, 75, 162, 0.2);
    color: white;
}

.glass-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.glass-card .form-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 8px;
    margin-left: 4px;
}

.glass-card .btn-primary {
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 10px;
    transition: transform 0.2s;
}

.glass-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 75, 162, 0.4);
}

.glass-card a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.glass-card a:hover {
    color: white;
    text-decoration: underline;
}


/* Sidebar Styles */
#sidebar-wrapper {
    min-height: 100vh;
}

#sidebar-wrapper .sidebar-heading {
    padding: 1.5rem;
    font-size: 1.2rem;
}

#sidebar-wrapper .list-group-item {
    border: none;
    padding: 1rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

#sidebar-wrapper .list-group-item:hover {
    background-color: rgba(118, 75, 162, 0.05) !important;
    color: #764ba2;
    /* Primary Purple */
}

#sidebar-wrapper .list-group-item.active {
    background-color: transparent;
    color: #764ba2;
    font-weight: bold;
    border-right: 4px solid #764ba2;
    /* Accent Line */
}

/* Fix for default bootstrap active which sets white text/blue bg */
.list-group-item.active {
    z-index: 2;
    color: #764ba2;
    background-color: transparent;
    border-color: transparent;
}

.second-text {
    color: #6c757d;
}

.text-danger {
    color: #dc3545 !important;
}

/* Responsive Toggler */
.navbar-light .navbar-toggler {
    border: none;
    outline: none;
}