:root {
    --primary-grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --glass-bg: rgba(255, 255, 255, 0.95);
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Container & Card */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-card {
    background: var(--glass-bg);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    padding: 40px 30px;
    transition: transform 0.3s ease;
}

/* Icon Header */
.brand-logo {
    width: 64px;
    height: 64px;
    background: var(--primary-grad);
    color: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

/* Form Styling */
.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.input-group-text {
    background: transparent !important;
    border: none !important;
    color: #94a3b8;
    padding-left: 15px;
}

.form-control {
    background: transparent !important;
    border: none !important;
    padding: 12px 15px 12px 5px !important;
    font-size: 1rem;
    color: #1e293b;
}

.form-control:focus {
    box-shadow: none !important;
}

/* Button */
.btn-login {
    background: var(--primary-grad);
    border: none;
    color: white;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
    filter: brightness(1.1);
}

.btn-login:disabled {
    opacity: 0.7;
    transform: none;
}

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

/* Dashboard Specific */
.stats-card {
    border: none;
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.table-container {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.badge-status {
    padding: 0.5em 1em;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.75rem;
}

/* Dashboard Layout */
.dashboard-wrapper {
    padding: 20px 0;
    min-height: calc(100vh - 76px); /* Adjust for navbar height */
}

.dashboard-card {
    background: var(--glass-bg);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 20px;
}