/* ========================================
   PÁGINA DE LOGIN - ESTILOS
   ======================================== */

/* Container Principal */
.login-container {
    min-height: calc(100vh - 100px);
    background: linear-gradient(135deg, #14214D 0%, #1a2a5e 50%, #14214D 100%);
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Efeito de Fundo Animado */
.login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Wrapper */
.login-wrapper {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Card de Login */
.login-card {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 50px 45px;
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Ícone Principal */
.login-icon {
    text-align: center;
    margin-bottom: 25px;
}

.login-icon i {
    font-size: 4rem;
    color: #C9A227;
    filter: drop-shadow(0 4px 8px rgba(201, 162, 39, 0.3));
}

/* Cabeçalho */
.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #14214D;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.login-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #4D577A;
    font-weight: 400;
}

/* Formulário */
.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #14214D;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-label i {
    color: #C9A227;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #14214D;
    background: #F8F9FA;
    border: 2px solid #E9E9E9;
    border-radius: 8px;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    background: #FFFFFF;
    border-color: #C9A227;
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.1);
}

.form-input::placeholder {
    color: #999;
}

/* Wrapper de Senha */
.password-wrapper {
    position: relative;
}

.password-wrapper .form-input {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

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

/* Mensagem de Erro */
.error-message {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #E74C3C;
    margin-top: 5px;
    display: none;
}

.form-group.error .form-input {
    border-color: #E74C3C;
}

.form-group.error .error-message {
    display: block;
}

/* Opções de Login */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

/* Checkbox Lembrar */
.remember-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.remember-checkbox input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #C9A227;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.remember-checkbox input[type="checkbox"]:checked + .checkbox-custom {
    background: #C9A227;
}

.remember-checkbox input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #FFFFFF;
    font-size: 0.75rem;
}

.checkbox-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #4D577A;
}

/* Link Esqueceu Senha */
.forgot-password {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #C9A227;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #B39020;
    text-decoration: underline;
}

/* Botão de Login */
.btn-login {
    width: 100%;
    padding: 16px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(135deg, #C9A227 0%, #B39020 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

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

.btn-login i {
    font-size: 1.2rem;
}

/* Divider */
.login-divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #E9E9E9;
}

.login-divider span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #999;
    background: #FFFFFF;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

/* Login Social */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.btn-social {
    width: 100%;
    padding: 14px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid #E9E9E9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #FFFFFF;
}

.btn-social:hover {
    border-color: #C9A227;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-google {
    color: #DB4437;
}

.btn-facebook {
    color: #1877F2;
}

.btn-social i {
    font-size: 1.2rem;
}

/* Link para Inscrição */
.signup-link {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #E9E9E9;
}

.signup-link p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #4D577A;
}

.signup-link a {
    color: #C9A227;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.signup-link a:hover {
    color: #B39020;
    text-decoration: underline;
}

/* ========================================
   INFORMAÇÕES ADICIONAIS
   ======================================== */
.login-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(201, 162, 39, 0.3);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(201, 162, 39, 0.5);
    transform: translateY(-5px);
}

.info-card i {
    font-size: 3rem;
    color: #C9A227;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(201, 162, 39, 0.3));
}

.info-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.info-card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #E9E9E9;
    line-height: 1.6;
}

/* ========================================
   FOOTER
   ======================================== */
.login-footer {
    background: #0D1531;
    padding: 30px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #E9E9E9;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #C9A227;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-links span {
    color: #4D577A;
}

/* ========================================
   RESPONSIVO
   ======================================== */
@media (max-width: 968px) {
    .login-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .login-info {
        flex-direction: row;
    }

    .info-card {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .login-container {
        padding: 40px 15px;
    }

    .login-card {
        padding: 40px 30px;
    }

    .login-title {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }

    .login-icon i {
        font-size: 3rem;
    }

    .login-info {
        flex-direction: column;
    }

    .info-card {
        padding: 25px;
    }

    .info-card h3 {
        font-size: 1.1rem;
    }

    .info-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .login-title {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .login-subtitle {
        font-size: 0.9rem;
    }

    .form-input {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .btn-login {
        padding: 14px 25px;
        font-size: 1rem;
    }

    .login-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .info-card {
        padding: 20px;
    }

    .info-card i {
        font-size: 2.5rem;
    }
}
