/**
 * SISTEMA DE GESTÃO DE EVENTOS
 * Estilos para Páginas de Autenticação - CORRIGIDO
 */

/* RESET E ESTILOS BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* PÁGINA DE AUTENTICAÇÃO */
.auth-page {
    background: linear-gradient(135deg, #6e8de3 0%, #1E3A8A 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.auth-box {
    flex: 1;
    padding: 3rem;
    max-width: 500px;
}

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

.auth-logo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

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

.auth-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

.auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    background: #f1f5f9;
    padding: 0.5rem;
    border-radius: 6px;
}

.auth-tab {
    flex: 1;
    padding: 0.75rem;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-family: inherit;
    font-size: 0.9rem;
}

.auth-tab:hover {
    color: #385298;
}

.auth-tab.active {
    background: #ffffff;
    color: #385298;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.auth-form {
    margin-top: 2rem;
}

/* FORMULÁRIOS */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
}

.form-label-required::after {
    content: " *";
    color: #e53e3e;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.2s ease-in-out;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #385298;
    box-shadow: 0 0 0 3px rgba(56, 82, 152, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-checkbox input {
    width: auto;
}

/* BOTÕES */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-family: inherit;
}

.btn-primary {
    background: #385298;
    color: #ffffff;
}

.btn-primary:hover {
    background: #2d437a;
    transform: translateY(-1px);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #1e293b;
}

.btn-outline:hover {
    border-color: #385298;
    color: #385298;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
}

.auth-link {
    color: #385298;
    font-weight: 600;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

.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: #e2e8f0;
}

.auth-divider span {
    background: #ffffff;
    padding: 0 1rem;
    position: relative;
    color: #64748b;
    font-size: 0.875rem;
}

.auth-register {
    text-align: center;
}

.auth-register p {
    margin-bottom: 1rem;
    color: #64748b;
}

.auth-side {
    flex: 1;
    background: linear-gradient(135deg, #6e8de3 0%, #1E3A8A 100%);
    padding: 3rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-side-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    font-weight: 700;
}

.auth-features {
    list-style: none;
    margin: 0 0 3rem 0;
    padding: 0;
}

.auth-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.auth-testimonial {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-testimonial p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
    color: #ffffff;
    margin: 0 0 1rem 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ALERTAS */
.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.alert-danger {
    background: #fed7d7;
    color: #c53030;
    border: 1px solid #feb2b2;
}

.alert-success {
    background: #c6f6d5;
    color: #276749;
    border: 1px solid #9ae6b4;
}

.alert-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
}

.alert-message {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .auth-side {
        display: none;
    }
    
    .auth-box {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .auth-page {
        padding: 1rem;
    }
    
    .auth-box {
        padding: 2rem 1.5rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .auth-subtitle {
        font-size: 0.875rem;
    }
    
    .auth-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
}