
/*--------------------------------------------------------------
# Security Section - Password Management
--------------------------------------------------------------*/
.security-section {
    margin-bottom: 40px;
}

.section-title {
    margin-bottom: 25px;
}

.section-title h4 {
    font-size: 20px;
    font-weight: 600;
    color: #37596d;
    margin-bottom: 8px;
}

.section-title h4 i {
    color: #4c8fb7;
}

.section-title p {
    margin: 0;
    font-size: 13px;
}

/* Password Input with Toggle */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

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

.password-toggle {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #37596d;
}

.password-toggle i {
    font-size: 18px;
}

/* Reset Password Card */
.reset-password-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    border: 2px dashed #dee2e6;
    transition: all 0.3s ease;
}

.reset-password-card:hover {
    border-color: #37596d;
    background: #e8f4f8;
}

.reset-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #37596d 0%, #4c8fb7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reset-icon i {
    font-size: 24px;
    color: #fff;
}

.reset-password-card h6 {
    font-weight: 600;
    color: #37596d;
}

.reset-password-card .btn-outline-primary {
    border-color: #37596d;
    color: #37596d;
}

.reset-password-card .btn-outline-primary:hover {
    background-color: #37596d;
    border-color: #37596d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(55, 89, 109, 0.3);
}

/* Password Strength Indicator (opcional para futuras mejoras) */
.password-strength {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    transition: all 0.3s ease;
}

.password-strength-bar.weak {
    width: 33%;
    background: #dc3545;
}

.password-strength-bar.medium {
    width: 66%;
    background: #ffc107;
}

.password-strength-bar.strong {
    width: 100%;
    background: #28a745;
}

/* Separador personalizado */
hr {
    border: 0;
    border-top: 2px solid #f0f0f0;
    margin: 40px 0;
}

/* Responsive adjustments for security section */
@media (max-width: 767px) {
    .reset-password-card {
        padding: 20px;
    }

    .reset-icon {
        width: 40px;
        height: 40px;
    }

    .reset-icon i {
        font-size: 20px;
    }

    .section-title h4 {
        font-size: 18px;
    }
}
