/* ===== RESET ESPECÍFICO PARA LOGIN ===== */
.login-reset * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif !important;
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.login-main {
    display: flex;
    width: 100vw;
    min-height: calc(100vh - 120px);
    background: white;
}

/* ===== SECCIÓN DE IMAGEN ===== */
.login-image-section {
    flex: 0 0 50%;
    background: #003456;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-image-section img {
    width: 100%;
    max-width: 600px;
    height: auto;
}

/* ===== FORMULARIO ===== */
.login-form-section {
    flex: 0 0 50%;
    padding: 4rem;
    background: #002842;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form-title {
    color: #f8c32e !important;
    font-size: 2.5rem !important;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.login-form-group {
    margin-bottom: 1.5rem;
}

.login-form-label {
    display: block;
    color: white !important;
    margin-bottom: 0.5rem;
    font-size: 1rem !important;
}

.login-form-input {
    width: 100% !important;
    padding: 12px !important;
    border: 2px solid #f8c32e !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: white !important;
    font-size: 1rem !important;
}

.login-form-input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.login-form-button {
    width: 100% !important;
    padding: 15px !important;
    background: #f8c32e !important;
    color: #003456 !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: bold !important;
    cursor: pointer;
    margin-top: 1rem !important;
}

.login-links {
    text-align: center;
    margin-top: 2rem;
}

.login-link {
    color: #f8c32e !important;
    text-decoration: none !important;
    display: block;
    margin: 0.8rem 0;
    font-size: 0.95rem !important;
}

.login-footer {
    background: #003356 !important; /* Color principal CEIAO */
    color: white !important;
    padding: 1.5rem !important;
    text-align: center !important;
    margin-top: auto !important; /* Fuerza al footer al final */
    width: 100% !important;
    border-top: 2px solid #f8c32e !important; /* Borde decorativo */
    font-family: 'Poppins', sans-serif !important;
}

.login-footer p {
    margin: 0.5rem 0 !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
}

.login-footer a {
    color: #f8c32e !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
}

.login-footer a:hover {
    text-decoration: underline !important;
}

/* Contenedor de contraseña */
.password-container .input-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

/* Separador */
.separator {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.separator-line {
    flex: 1;
    height: 1px;
    background-color: #ddd;
}

.separator-text {
    padding: 0 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* Botón de Google */
.g_id_signin {
    width: 100% !important;
    margin: 1rem 0;
}

/* Mensaje de error */
.error-message {
    color: #dc3545;
    background: #f8d7da;
    padding: 0.8rem;
    border-radius: 5px;
    margin: 1rem 0;
    border: 1px solid #f5c6cb;
}

.profile-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.profile-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}

.profile-header {
    text-align: center;
    padding: 2rem;
    background: #2A5C82;
    color: white;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    margin-bottom: 1rem;
}

.profile-body {
    padding: 2rem;
}

.password-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.password-section h2 {
    color: #2A5C82;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-save {
    background: #2A5C82;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn-save:hover {
    background: #39A2DB;
}

.google-notice {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    border: 1px solid #f5c6cb;
}

/* Agregar estas clases si no existen */
.login-reset {
    background: #f8f9fa;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    border: 1px solid #c3e6cb;
}

.login-form-button i {
    margin-right: 10px;
}



/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .login-main {
        flex-direction: column;
    }
    
    .login-image-section,
    .login-form-section {
        flex: 0 0 100%;
        padding: 2rem;
    }
    
    .login-form-title {
        font-size: 2rem !important;
    }
    
    .login-image-section img {
        max-width: 400px;
    }
}