/* Update Password Page Global Styles */
body {
    background-color: #16213e;
}

.update-password-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Update Password Card Styles */
.update-password-card {
    width: 100%;
    max-width: 500px;
    background-color: #1e2139;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.update-password-card-header {
    background-color: #16213e;
    padding: 1.5rem;
    text-align: center;
}

.update-password-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.update-password-card-body {
    padding: 2rem;
}

/* Form Styles */
.form-label {
    color: #b6b6b6;
    font-weight: 500;
}

.form-control {
    background-color: #2c3142;
    border: none;
    color: #ffffff;
}

.form-control:focus {
    background-color: #3c4257;
    color: #ffffff;
    box-shadow: none;
    border-color: var(--accent-blue);
}

.input-group-text {
    background-color: #2c3142;
    border: none;
    color: #b6b6b6;
}

.input-group .form-control:first-child {
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

/* Button Styles */
.btn-primary-custom {
    background-color: var(--accent-blue);
    color: #16213e;
    border: none;
    padding: 0.75rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #00cc6e;
    color: #16213e;
    transform: translateY(-2px);
}

.toggle-password {
    background-color: #2c3142;
    border: none;
    color: #b6b6b6;
}

.toggle-password:focus {
    box-shadow: none;
}

/* Error Styles */
.invalid-feedback {
    color: #ff6b6b;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .update-password-card {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .update-password-card-body {
        padding: 1rem;
    }
}
