/* ============================================
   Auth Pages Styles (Login & Register)
   ============================================ */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.auth-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    color: #005689;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.auth-header p {
    color: #64748b;
    font-size: 1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #005689;
    font-weight: 600;
    font-size: 0.95rem;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #005689;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #007cb9;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 124, 185, 0.1);
}

.form-group input.error,
.form-group select.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.password-input-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin: 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #005689;
}

.checkbox-label a {
    color: #007cb9;
    text-decoration: none;
    font-weight: 500;
}

.checkbox-label a:hover {
    text-decoration: underline;
    color: #ff895d;
}

.btn-primary,
.btn-full {
    width: 100%;
    background: linear-gradient(135deg, #007cb9 0%, #ff895d 100%);
    color: white !important;
    border: none;
    padding: 0.875rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    display: block;
}

.btn-primary:hover:not(:disabled),
.btn-full:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 124, 185, 0.3);
}

.btn-primary:disabled,
.btn-full:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.alert {
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #64748b;
}

.auth-footer a {
    color: #007cb9;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
    color: #ff895d;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 1.5rem;
    }
}