/* Password Form Styles */

.password-form {
    background: white;
    padding: 5px;
    border-radius: 10px;
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.08); */
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 25px;
    width: 100%;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.form-label .required {
    color: #f44336;
    margin-left: 2px;
}

.password-input-wrapper {
    position: relative;
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 14px 45px 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.form-input::placeholder {
    color: #999;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
}

.toggle-password:hover {
    color: #666;
}

.form-actions {
    margin-top: 35px;
    display: flex;
    justify-content: flex-end;
}

.btn-save {
    background: #2196F3;
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-save:hover {
    background: #1976D2;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(33, 150, 243, 0.3);
}

.btn-save:active {
    transform: translateY(0);
}


/* Password strength indicator */

.password-strength {
    margin-top: 8px;
    display: none;
}

.password-strength.show {
    display: block;
}

.strength-bar {
    height: 4px;
    background: #eee;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s;
    border-radius: 2px;
}

.strength-fill.weak {
    width: 33%;
    background: #f44336;
}

.strength-fill.medium {
    width: 66%;
    background: #ff9800;
}

.strength-fill.strong {
    width: 100%;
    background: #1976d2;
}

.strength-text {
    font-size: 12px;
    color: #666;
}


/* Responsive fix */

@media (max-width: 768px) {
    .password-form {
        padding: 20px;
    }
    .btn-save {
        width: 100%;
        text-align: center;
    }
}