/* Reset e Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ff4d4d;
    color: #333;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #f8f9fa 100%);
}

.login-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.logo-container {
    margin-bottom: 25px;
}

.logo {
    max-width: 120px;
    height: auto;
}

h1 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 14px;
    color: #ff4d4d;
    margin-bottom: 25px;
}

/* Mensagens */
.alert-message {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 14px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.success-message {
    color: #28a745;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.error-message {
    color: #d9534f;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Formulário */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
    font-size: 16px;
}

.input-with-icon input {
    width: 100%;
    padding: 14px 14px 14px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    background-color: #f8f9fa;
}

.input-with-icon input:focus {
    border-color: #ff4d4d;
    outline: none;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Botão */
.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #ff4d4d;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #ff4d4d;
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    background-color: #ff4d4d;
    cursor: not-allowed;
    transform: none;
}

.loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Links */
.footer-links {
    margin-top: 25px;
    font-size: 14px;
}

.footer-links a, .forgot-password a {
    color: #ff4d4d;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover, .forgot-password a:hover {
    color: #ff4d4d;
}

.forgot-password {
    text-align: right;
    margin: -10px 0 15px;
    font-size: 13px;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
    cursor: pointer;
    font-size: 16px;
}

.password-toggle:hover {
    color: #ff4d4d;
}

/* Responsividade */
@media (max-width: 576px) {
    .login-card {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 20px;
    }
}

.recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 15px 0;
    transform: scale(0.95); /* Opcional: ajusta o tamanho se necessário */
    transform-origin: center;
}

/* Para dispositivos móveis */
@media (max-width: 576px) {
    .recaptcha-container {
        transform: scale(0.85);
    }
}