/* =====================================================
   AUTH PAGES - LOGIN & REGISTER
   Modern, minimal and clean design
   ===================================================== */

:root {
    --primary-dark: #1a1a2e;
    --primary-light: #16213e;
    --accent-blue: #0f3460;
    --accent-teal: #1abc9c;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --border-light: #ecf0f1;
    --success: #27ae60;
    --danger: #e74c3c;
}

.auth-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.auth-form {
    background: white;
    border-radius: 16px;
    padding: 48px 40px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.auth-form h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 24px 0;
    text-align: center;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.auth-form input,
.auth-form select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.auth-form input:focus,
.auth-form select:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.1);
}

.auth-form small {
    display: block;
    color: var(--text-light);
    font-size: 12px;
    margin-top: 4px;
}

.auth-form label input[type="checkbox"] {
    margin-right: 8px;
    width: auto;
    cursor: pointer;
}

.btn-primary {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--accent-teal), #16a085);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 188, 156, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.auth-links {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.auth-links p {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    margin: 10px 0;
}

.auth-links a {
    color: var(--accent-teal);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.auth-links a:hover {
    color: #16a085;
    text-decoration: underline;
}

/* Alert Messages */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    border-left: 4px solid;
}

.alert-danger {
    background: #fff5f5;
    color: #c62828;
    border-left-color: #e74c3c;
}

.alert-success {
    background: #f0fdf4;
    color: #27ae60;
    border-left-color: #27ae60;
}

.alert strong {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-form {
        padding: 32px 24px;
    }

    .auth-form h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .auth-form input,
    .auth-form select {
        padding: 11px 14px;
        font-size: 16px;
    }

    .btn-primary {
        padding: 12px 20px;
        font-size: 15px;
    }
}
