/* Styles for the container to center and enhance the form */
#form_cambiar_pass{
    width: 100%!important;
    background-color: unset;
    box-shadow: unset;
}

.img-container{
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-container img{
    width: auto;
    height: 120px;
}

.password-change-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    color: white;
}

/* Header styling */
.password-change-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Enhance form elements */
.password-change-container label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.password-change-container input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    margin-bottom: 1rem;
    transition: border-color 0.2s ease;
}

.password-change-container input[type="password"]:focus {
    outline: none;
    border-color: #1e5aa8;
    box-shadow: 0 0 0 0.2rem rgba(30, 90, 168, 0.25);
}

/* Password strength meter */
.password-strength {
    height: 5px;
    width: 100%;
    background-color: #e9ecef;
    border-radius: 3px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.password-strength-meter {
    height: 100%;
    width: 0;
    border-radius: 3px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-text {
    font-size: 0.8rem;
    text-align: right;
    margin-top: -0.75rem;
    margin-bottom: 1rem;
}

/* Error message styling */
#error {
    color: #dc3545;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1rem;
    min-height: 20px;
}

/* Submit button styling */
.password-change-container button[type="submit"] {
    width: 100%;
    padding: 0.75rem;
    background-color: #1e5aa8;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.password-change-container button[type="submit"]:hover {
    background-color: #15437d;
}

/* Password tips section */
.password-tips {
    background-color: rgb(0,0,0,0.15);
    border-left: 4px solid #1e5aa8;
    padding: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    border-radius: 0 4px 4px 0;
}

.password-tips ul {
    margin: 0.5rem 0 0;
    padding-left: 1.5rem;
}

.password-tips li {
    margin-bottom: 0.25rem;
}

.password-tips li.active {
    color: #28a745;
}

/* Animation for error feedback */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s;
}


.password-reset-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem;
    background-color: rgba(30, 90, 168, 0.1);
}

.password-reset-content {
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.15);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.password-reset-content h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.confirmation-message {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.actions {
    margin-top: 2rem;
}


@media (max-width: 768px) {
    .password-reset-content {
        padding: 2rem;
    }
    
    .password-reset-content h1 {
        font-size: 1.5rem;
    }
    
    .confirmation-message {
        font-size: 1rem;
    }
}