/* Create Password Page Styles */

/* Card Container */
.registrationBox {
    max-width: 630px;
    margin: 20px auto;
    background-color: #FFFFFF;
    box-shadow: 0px 4px 40px rgba(123, 121, 122, 0.2);
}

/* Header Styles */
.createPasswordHeader {
    background-color: #00B9F2;
    color: #FFFFFF;
    font-family: 'Effra', sans-serif;
    font-weight: 300;
    font-size: 32px;
    line-height: normal;
    padding: 16px 20px;
    text-align: center;
}

/* Body Content Area */
#createPasswordContainer {
    padding: 40px 40px !important;
}

/* Field Labels */
.passwordFieldLabel {
    font-family: 'Effra', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #000000;
    display: block;
    margin-bottom: 8px;
    text-align: left;
}

/* Email Read-only Field */
.emailReadOnly {
    background-color: #F4F4F4 !important;
    border: 1px solid #CCCCCC !important;
    color: #231F20;
    font-family: 'Effra', sans-serif;
    font-weight: 300;
    font-size: 16px;
    padding: 16px;
    height: 54px;
    border-radius: 4px;
    cursor: not-allowed;
}

/* Password Input Wrapper */
.passwordInputWrapper {
    position: relative;
}

.passwordInputWrapper input[type="password"],
.passwordInputWrapper input[type="text"] {
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    color: #231F20;
    font-family: 'Effra', sans-serif;
    font-weight: 300;
    font-size: 16px;
    padding: 16px;
    padding-right: 80px;
    height: 54px;
    border-radius: 4px;
}

.passwordInputWrapper input:focus {
    border-color: #00B9F2;
    outline: none;
}

/* Error state for password inputs */
.passwordInputWrapper input.error {
    border: 1px solid #DC3545;
}

/* Password Toggle Icons */
.passwordToggleIcon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    cursor: pointer;
    z-index: 2;
}

.hideNewPassword,
.hideConfirmPassword {
    display: none;
}

.showNewPassword,
.showConfirmPassword {
    display: block;
}

/* Error icon positioning - appears to the left of the eye icon */
.PassErrorIconNew,
.editPassErrorIconConfirm {
    position: absolute;
    right: 52px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    z-index: 1;
}

/* Password Requirements Container */
.passwordRequirementsContainer {
    margin-top: 0;
}

.passwordRequirementsIntro {
    font-family: 'Effra', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #231F20;
    margin-bottom: 8px;
}

.passwordRequirementsList {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.passwordRequirementItem {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
}

.passwordCheckmark,
.passwordCircle {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: block;
}

.passwordCheckmark {
    display: none;
}

.passwordCheckmark.visible {
    display: block;
}

.passwordCircle.hidden {
    display: none;
}

.passwordRequirementText {
    font-family: 'Effra', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #231F20;
}

/* Agreement Container */
.agreementContainer {
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    padding: 15px;
}

.customCheckbox {
    display: flex;
    align-items: flex-start;
}

.agreementCheckboxInput {
    display: none;
}

.agreementCheckboxLabel {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-family: 'Effra', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
}

.checkboxBox {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.agreementCheckboxInput:checked + .agreementCheckboxLabel .checkboxBox {
    background-color: #332892;
    border-color: #332892;
}

.checkboxCheck {
    display: none;
}

.agreementCheckboxInput:checked + .agreementCheckboxLabel .checkboxCheck {
    display: block;
}

.agreementText {
    flex: 1;
}

.agreementText a {
    color: #0A38D9;
    text-decoration: none;
}

.agreementText a:hover {
    text-decoration: underline;
}

/* Create Password Button */
.createPasswordButton {
    background-color: #332892;
    color: #FFFFFF;
    font-family: 'Effra', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    padding: 10px 75px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.createPasswordButton:hover {
    background-color: #2A226F;
}

.createPasswordButton:disabled {
    background-color: #888888;
    color: #FFFFFF;
    cursor: not-allowed;
    opacity: 1;
    pointer-events: none;
}

/* Error Text States */
.PasswordNullText,
.ConfirmPasswordNullText,
.passwordNotMatch,
.passwordRequirement {
    color: #DC3545;
    font-family: 'Effra', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 14px;
    margin-top: 4px;
    display: block;
    text-align: left;
}

/* Spacing between form sections */
.maxWidth423px {
    max-width: 100%;
    margin-bottom: 16px;
}

.margnbtm20 {
    margin-bottom: 0;
}

.topbtmmargin25 {
    margin-top: 32px;
    margin-bottom: 0;
}

.passNullMargnTop {
    margin-top: 0;
}

.hidden {
    display: none !important;
}

.paddingTopBottom40 {
    padding-top: 0;
    padding-bottom: 0;
}

/* Responsive Tablet Styles */
@media screen and (max-width: 768px) {
    .registrationBox {
        max-width: 100%;
        box-shadow: none;
    }

    #createPasswordContainer {
        padding: 40px 20px !important;
    }

    .createPasswordHeader {
        font-size: 28px;
        padding: 14px 16px;
    }

    .createPasswordButton {
        width: 100%;
        padding: 10px 20px;
    }
}

/* Responsive Mobile Styles */
@media screen and (max-width: 414px) {
    #createPasswordContainer {
        padding: 32px 16px !important;
    }

    .createPasswordButton {
        width: 100%;
        padding: 10px 20px;
    }
}
