/* Override CSS para corregir estilos específicos */

/* Corregir párrafos de la sección de huella de carbono */
.carbon-section p,
.bg-light p {
    text-align: justify !important;
    font-size: 1rem !important;
    font-weight: normal !important;
    line-height: 1.6 !important;
}

/* Eliminar estilos lead específicamente */
.carbon-section .lead,
.bg-light .lead {
    font-size: 1rem !important;
    font-weight: normal !important;
    text-align: justify !important;
}

/* Forzar estilos para todos los párrafos en la sección */
section.bg-light p {
    text-align: justify !important;
    font-size: 1rem !important;
    font-weight: normal !important;
    line-height: 1.6 !important;
}

/* Estilos para el sistema de verificación de seguridad de contraseñas */
.password-strength-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.password-strength-container:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.password-strength-badge {
    font-size: 0.875rem;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.password-requirements ul li {
    margin-bottom: 4px;
    transition: all 0.2s ease;
}

.password-requirements ul li:hover {
    transform: translateX(2px);
}

.password-feedback ul li {
    margin-bottom: 4px;
    background-color: rgba(13, 202, 240, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border-left: 3px solid #0dcaf0;
}

/* Estilos específicos para diferentes niveles de seguridad */
.progress-bar.bg-danger {
    background: linear-gradient(90deg, #dc3545, #b02a37) !important;
}

.progress-bar.bg-warning {
    background: linear-gradient(90deg, #fd7e14, #e86c00) !important;
}

.progress-bar.bg-info {
    background: linear-gradient(90deg, #0dcaf0, #0bb5d4) !important;
}

.progress-bar.bg-success {
    background: linear-gradient(90deg, #198754, #146c43) !important;
}

/* Animación para el progreso */
.progress-bar {
    transition: width 0.6s ease, background-color 0.3s ease;
}

/* Iconos de requisitos */
.password-requirements .fa-check-circle {
    color: #198754 !important;
    animation: checkPulse 0.5s ease;
}

.password-requirements .fa-times-circle {
    color: #dc3545 !important;
}

@keyframes checkPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive para dispositivos móviles */
@media (max-width: 768px) {
    .password-strength-container {
        padding: 10px;
    }
    
    .password-strength-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 5px;
    }
    
    .password-strength-badge {
        align-self: flex-end;
    }
}

/* Ocultar completamente la barra de navegación verde */
.main-navigation {
    display: none !important;
    visibility: hidden !important;
}