/* Estilos para as páginas de autenticação */

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

/* Estilos para a seção de login/cadastro */
.login-section,
.cadastro-section {
    max-width: 400px;
    margin: 60px auto 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    padding: 40px 30px 30px 30px;
    animation: fadeIn 1s;
}

.login-section h2,
.cadastro-section h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #0071bd;
    font-weight: 700;
}

/* Estilos para formulários */
form {
    display: flex;
    flex-direction: column;
}

/* Estilos para labels */
.login-section label,
.cadastro-section label {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
    display: block;
}

/* Estilos para inputs */
.login-section input[type="text"],
.login-section input[type="password"],
.login-section input[type="email"],
.cadastro-section input[type="text"],
.cadastro-section input[type="password"],
.cadastro-section input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 1rem;
    background: #f8f9fa;
    outline: none;
    transition: border 0.3s;
}

.login-section input:focus,
.cadastro-section input:focus {
    border-color: #0071bd;
}

/* Estilos para botões */
.login-section .login-button,
.cadastro-section .cadastro-button {
    width: 100%;
    background: linear-gradient(90deg, #0071bd, #00c6ff);
    color: #fff;
    border: none;
    padding: 12px 0;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,113,189,0.2);
}

.login-section .login-button:hover,
.cadastro-section .cadastro-button:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(0,113,189,0.3);
}

/* Links de navegação */
.login-section .signup-link,
.login-section .forgot-password,
.cadastro-section .login-link {
    display: block;
    text-align: center;
    margin-top: 18px;
    color: #0071bd;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.login-section .forgot-password {
    text-align: right;
    margin-bottom: 18px;
    margin-top: -10px;
}

.login-section .signup-link:hover,
.login-section .forgot-password:hover,
.cadastro-section .login-link:hover {
    color: #ff6200;
    text-decoration: underline;
}

/* Estilos para login social */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #fff;
    color: #1a1a1a;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-social:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.btn-social i {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mensagens de erro */
.error-message {
    color: #e74c3c;
    background-color: #fde8e8;
    border: 1px solid #f5c6cb;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* Mensagens de sucesso */
.success-message {
    color: #28a745;
    background-color: #e8f5e9;
    border: 1px solid #c3e6cb;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* Botões de login social */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
}

.btn-social i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.btn-google {
    background-color: #DB4437;
}

.btn-google:hover {
    background-color: #c23321;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(219, 68, 55, 0.3);
}

/* Divisor */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e9ecef;
}

.divider:not(:empty)::before {
    margin-right: 1em;
}

.divider:not(:empty)::after {
    margin-left: 1em;
}

/* Responsividade */
@media (max-width: 480px) {
    .login-section,
    .cadastro-section {
        margin: 30px 15px;
        padding: 30px 20px;
    }
}
