/* Forgot Password Page Styles */


.change-pass-success-container {
    padding-block: 32px;
    margin: auto;
    align-items: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.change-pass-success-container h1 {
    color: var(--Dulux-Dark-Blue, #0B1B34);
    /* Desktop 2023/H2 */
    font-family: Dulux Headline;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    /* 38.4px */
    text-align: center;
}

.custom-link {
    color: #0B1B34;
    text-decoration: underline;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
}


.dulux-password-container {
    background: white;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    margin-block: 32px;
}

.dulux-password-container h1 {
    color: var(--Dulux-Dark-Blue, #0B1B34);
    font-family: Dulux Headline;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    line-height: 130%;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #001325;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
}

.required-asterisk {
    color: var(--Dulux-Red, #E31C1A);
}

.change-pass-success-container .form-control {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--Accessible-Grey, #757575);
    border-radius: 4px;
    font-size: 16px;
    height: 48px;
    margin-bottom: 8px;
    transition: border-color 0.3s ease;
}

.change-pass-success-container .form-control:focus {
    outline: none;
    border: 2px solid #0B1B34;
}

.password-input-container {
    position: relative;
    margin-bottom: 16px;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    font-size: 18px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.password-toggle:hover {
    color: #0B1B34;
}

/* Password Strength Indicator */
.password-strength-container {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.strength-indicator {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

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

.strength-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Strength levels */
.strength-very-weak .strength-bar {
    background-color: #dc3545;
}

.strength-weak .strength-bar {
    background-color: #ffc107;
}

.strength-medium .strength-bar {
    background-color: #fd7e14;
}

.strength-strong .strength-bar {
    background-color: #20c997;
}

.btn {
    width: 100%;
    padding: 16px 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.btn-primary {
    background-color: #0f172a;
    color: white;
}

.btn-primary:hover {
    background-color: #002C65;
}

.btn-primary:disabled,
.btn-disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
}

.form-text {
    font-size: 14px;
    margin-top: 4px;
    display: block;
}

.text-danger {
    color: #dc3545;
}

.field-validation-valid {
    display: none;
}

.field-validation-error {
    display: block;
}

/* Form group spacing */
.form-group {
    margin-bottom: 24px;
}

/* Responsive design */
@media (max-width: 768px) {
    .dulux-password-container {
        padding: 24px;
        margin: 16px;
        max-width: 343px;
    }

    .dulux-password-container h1 {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .change-pass-success-container .form-control {
        padding: 14px;
    }

    .btn {
        padding: 14px 24px;
    }
}