
.profile-password-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.profile-password-wrapper .password-container {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    padding: 40px;
}

.profile-password-wrapper .header {
    margin-bottom: 30px;
    text-align: center;
}

.profile-password-wrapper .header h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #2f3542;
}

.profile-password-wrapper .header p {
    color: #747d8c;
    font-size: 0.9rem;
}

.profile-password-wrapper .form-group {
    margin-bottom: 20px;
}

.profile-password-wrapper .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #57606f;
}

.profile-password-wrapper .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #dfe4ea;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
    background-color: #fff;
    color: #2f3542;
}

.profile-password-wrapper .form-control:focus {
    border-color: #4834d4;
    box-shadow: 0 0 8px rgba(72, 52, 212, 0.1);
}

.profile-password-wrapper .btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.profile-password-wrapper .btn {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: 0.2s;
}

.profile-password-wrapper .btn-save {
    background-color: #4834d4;
    color: white;
}

.profile-password-wrapper .btn-save:hover {
    background-color: #3c2bb3;
}

.profile-password-wrapper .btn-cancel {
    background-color: transparent;
    color: #000000 !important;
    border: 1px solid #dfe4ea !important;
    display: block;
    width: 100%;
}

.profile-password-wrapper .btn-cancel:hover {
    background-color: #f1f2f6;
    color: #000000 !important;
}

.profile-password-wrapper .security-note {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #4834d4;
}

.profile-password-wrapper .security-note p {
    font-size: 0.8rem;
    color: #57606f;
    line-height: 1.4;
}

/* --- DARK MODE --- */
[data-bs-theme="dark"] .profile-password-wrapper .password-container {
    background-color: #3f474e;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

[data-bs-theme="dark"] .profile-password-wrapper .header h2 {
    color: #ffffff;
}

[data-bs-theme="dark"] .profile-password-wrapper .header p {
    color: #adb5bd;
}

[data-bs-theme="dark"] .profile-password-wrapper .form-group label {
    color: #ced4da;
}

[data-bs-theme="dark"] .profile-password-wrapper .form-control {
    background-color: #343a40;
    border-color: #6c757d;
    color: #ffffff;
}

[data-bs-theme="dark"] .profile-password-wrapper .security-note {
    background-color: #343a40;
}

[data-bs-theme="dark"] .profile-password-wrapper .security-note p {
    color: #adb5bd;
}

[data-bs-theme="dark"] .profile-password-wrapper .btn-cancel {
    color: #ffffff !important;
    border-color: #6c757d !important;
}

[data-bs-theme="dark"] .profile-password-wrapper .btn-cancel:hover {
    background-color: #4b545c;
    color: #ffffff !important;
}