/* Reset e estilos globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    min-height: 100vh;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* Seção da marca */
.brand-section {
    background: linear-gradient(135deg, #2D1437 0%, #4A2359 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-content {
    max-width: 400px;
    color: white;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.tagline p {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.tagline p:last-child {
    font-weight: 500;
    color: #E8B4FF;
}

.get-started {
    background: #fff;
    border: 2px solid white;
    color: 2D1437;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    margin-top: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.get-started:hover {
    background: #15091a;
    color: #fff;
}

/* Seção do formulário */
.form-section {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.form-content {
    max-width: 400px;
    width: 100%;
}

h2 {
    font-size: 2rem;
    color: #2D1437;
    margin-bottom: 1rem;
}

.form-subtitle {
    color: #666;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.input-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.input-group label {
    display: block;
    color: #444;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    border-color: #4A2359;
    outline: none;
}

.forgot-link {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #4A2359;
    text-decoration: none;
    font-size: 0.9rem;
}

.auth-btn {
    width: 100%;
    padding: 1rem;
    background: #4A2359;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.auth-btn:hover {
    background: #2D1437;
}

.auth-switch {
    text-align: center;
    margin-top: 2rem;
    color: #666;
}

.auth-switch a {
    color: #4A2359;
    text-decoration: none;
    font-weight: 500;
}

/* Input highlight animation */
@keyframes highlight {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
        border-color: #007bff;
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
        border-color: #007bff;
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
        border-color: initial;
    }
}

.highlight-input {
    animation: highlight 2s ease-out;
    border-width: 2px !important;
    transition: all 0.3s ease;
}

/* Mensagens de erro registre*/
.error-message {
    color: #dc3545;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #ffeef0;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
}

/* Ajuste para múltiplos campos */
.input-group:not(:last-child) {
    margin-bottom: 1.5rem;
}

/* Espaçamento adicional no formulário de registro */
.form-content {
    padding-bottom: 1rem;
}

/* Estilo para o link de recuperação de senha */
.recovery-link {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.recovery-link a {
    color: #4A2359;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.recovery-link a:hover {
    text-decoration: underline;
}

/* Mensagens de sucesso */
.success-message {
    color: #28a745;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #e8f5e9;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
}

/* Ajustes específicos para a página de recuperação */
.recovery-form {
    margin-top: 2rem;
}

.recovery-form .input-group {
    margin-bottom: 1.5rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .brand-section {
        padding: 4rem 2rem;
    }

    .tagline p {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
    }

    .tagline p {
        font-size: 1.5rem;
    }

    .form-subtitle {
        font-size: 1rem;
    }
}