/* Change Password CSS */
body {
    background-color: #f8f9fa;
}

.container {
    height: 100vh;
}

.password-card {
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.card-body {
    padding: 2.5rem;
}

h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.text-muted {
    color: #6c757d !important;
    font-size: 0.9rem;
}

/* Form Controls */
.form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border-color: #e0e0e0;
    background-color: #fff;
    border-end-end-radius: 0;
    border-start-end-radius: 0;
}

.form-control:focus {
    box-shadow: none;
    border-color: #3366ff;
}

.input-group .btn {
    border-color: #e0e0e0;
    color: #6c757d;
    background-color: #f8f9fa;
    border-start-start-radius: 0;
    border-end-start-radius: 0;
}

.input-group .btn:hover {
    background-color: #e9ecef;
}

/* Password Strength */
.password-strength {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
}

.password-strength h6 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.password-rules ul {
    margin-bottom: 0;
}

.password-rules li {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 4px;
    line-height: 1.4;
}

/* Update Button */
.btn-update {
    background-color: #3366ff;
    border-color: #3366ff;
    color: white;
    font-weight: 600;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-update:hover, .btn-update:focus {
    background-color: #2952cc;
    border-color: #2952cc;
    color: white;
    box-shadow: 0 4px 10px rgba(51, 102, 255, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .password-card {
        margin: 0 15px;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .container {
        height: auto;
        min-height: 100vh;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .input-group .btn {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .password-strength {
        padding: 10px;
    }
    
    .password-rules li {
        font-size: 0.8rem;
    }
    
    .btn-update {
        width: 100%;
        padding: 0.6rem;
    }
}

/* Very small devices */
@media (max-width: 375px) {
    .card-body {
        padding: 1.25rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .form-control {
        padding: 0.6rem 0.8rem;
    }
}
