/* ===== AUTH PAGES STYLES ===== */
.auth-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    position: relative;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.auth-header {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2.5rem 2rem 2rem;
    position: relative;
}

.auth-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid var(--primary-color);
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.auth-body {
    padding: 3rem 2rem 2rem;
}

/* ===== FORM STYLES ===== */
.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.auth-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(198, 9, 40, 0.15);
    background-color: white;
}

.auth-form .form-select {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.auth-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(198, 9, 40, 0.15);
    background-color: white;
}

/* ===== CHECKBOX STYLES ===== */
.auth-form .form-check {
    margin-bottom: 1.5rem;
}

.auth-form .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    margin-right: 0.75rem;
}

.auth-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.auth-form .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(198, 9, 40, 0.25);
}

.auth-form .form-check-label {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.4;
}

/* ===== BUTTON STYLES ===== */
.auth-submit-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    background: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.auth-submit-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(198, 9, 40, 0.3);
}

.auth-submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(198, 9, 40, 0.25);
}

/* ===== DIVIDER ===== */
.auth-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== ALTERNATIVE ACTIONS ===== */
.auth-alternative {
    text-align: center;
    margin-bottom: 1rem;
}

.auth-alternative p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.auth-alternative .btn {
    width: 100%;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* ===== BACK LINK ===== */
.auth-back-link {
    text-align: center;
    margin-top: 2rem;
}

.auth-back-link a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-back-link a:hover {
    color: var(--primary-color);
}

/* ===== ALERT STYLES ===== */
.auth-alert {
    border: none;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.auth-alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.auth-alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
    border-left: 4px solid var(--danger-color);
}

/* ===== VALIDATION STYLES ===== */
.auth-form .is-invalid {
    border-color: var(--danger-color);
    background-color: rgba(220, 53, 69, 0.05);
}

.auth-form .invalid-feedback {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
    }
    
    .auth-card {
        max-width: 100%;
        margin: 0 1rem;
    }
    
    .auth-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .auth-body {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .auth-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .auth-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .auth-body {
        padding: 1.5rem 1rem 1rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .auth-form .form-control,
    .auth-form .form-select {
        padding: 12px 16px;
    }
} 