/* main CSS */

body {
    /* font-family: "Roboto"; */
    /* font-family: 'Open Sans', sans-serif; */
    font-family: 'Nunito Sans', sans-serif;
}


/* ------------------------ */


/*      login page          */


/* ------------------------ */

.login-page {
    height: 100%;
    padding: 0;
}

.login-page .left-column {
    background: linear-gradient(to top left, #2B3168, #814890);
    height: 100vh;
}

.login-page .right-column {
    background-color: #fff;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-page .logo {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

.login-page h2 {
    font-family: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    font-weight: 400;
    user-select: none;
    padding-top: 20px;
    padding-bottom: 15px;
}

.login-page .signup-note {
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    color: #2a2a2c;
    user-select: none;
    margin-top: 10px;
    margin-bottom: 30px;
}

a {
    text-decoration: none;
}

.login-page .signup-link {
    padding-left: 5px;
    color: #2B3168;
    cursor: pointer;
    text-decoration: underline;
}

.login-page .signup-link:hover {
    color: #591d68
}

.login-page .form-container {
    width: 45%;
    min-width: 400px;
}

.login-page input {
    outline: none;
    font-size: 16px;
    color: #434555;
    box-shadow: 0px 1px 1px rgba(59, 58, 58, 0.1);
}

.login-page .input-group-text {
    color: #6f7079;
}

.login-page input::placeholder {
    font-size: 14px;
}

.login-page .icon-box {
    max-width: 45px;
    box-shadow: 0px 1px 1px rgba(59, 58, 58, 0.1);
}

.login-page .form-icon {
    font-size: 20px;
    font-weight: 250;
    user-select: none;
}

.login-page .trailing-icon {
    background-color: transparent;
    cursor: pointer;
    max-width: 45px;
    box-shadow: 0px 1px 1px rgba(59, 58, 58, 0.1);
}

.login-page .options-row {
    font-size: 13px;
    user-select: none;
}

.login-page .checkbox-label {
    cursor: pointer;
    font-size: 15px;
    padding-left: 10px;
}

.login-page .checkbox-label span {
    padding-left: 8px;
}

.login-page .forgot-pass {
    color: #2B3168;
    cursor: pointer;
    font-size: 15px;
}

.login-page .forgot-pass:hover {
    color: #591d68
}

.login-page .login-btn {
    /* background-color: #2B3168; */
    background-color: #1b6e5c;
    color: #fff;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 25px;
    box-shadow: 0px 3px 1px rgba(59, 58, 58, 0.1);
}

.login-page .login-btn:hover {
    background-color: #1b806a;
    color: #fff;
}

.login-page .hr-with-text {
    position: relative;
}

.login-page .hr-with-text hr {
    color: #48484b;
}

.login-page .hr-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 10px;
    background-color: #fff;
    color: #48484b;
    font-size: 14px;
    user-select: none;
}

.login-page .alter-logins-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}

.login-page .alter-login-btn {
    font-size: 14px;
    border: 0.5px solid #d9dae4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    font-weight: bold;
    box-shadow: 0px 3px 1px rgba(59, 58, 58, 0.1);
}

.login-page .alter-login-btn img {
    margin-right: 12px;
    width: 14px;
    height: 14px;
}

.login-page .alter-login-btn:hover,
.login-page .alter-login-btn:active {
    background-color: #e4e5f0;
    border: none;
}

.login-page .error {
    border: 1px solid #aa0a0a;
}

.login-page .carousel-item {
    height: 22rem;
    background: transparent;
    color: #ffffffef;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-page .carousel-item.active {
    opacity: 1;
}

.login-page .carousel-item h4 {
    display: flex;
    justify-content: center;
    font-size: 20px;
    font-weight: 400;
    margin-top: 45px;
}

.login-page .carousel-item span {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: 400;
    max-width: 500px;
    text-align: center;
    margin: 0 auto;
}

.login-page .carousel-item img {
    display: block;
    margin: 0 auto;
    width: 150px;
    height: 150px;
}

.login-page .error-login {
    margin-top: -15px;
    padding-bottom: 20px;
    height: 30px;
    justify-content: center;
}

.login-page .alert-text {
    margin-top: -9px;
    font-size: 15px;
}

.login-page .alert-close-button {
    margin-top: -9px;
}

.login-page .mfa-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 15px;
}

.login-page .back-to-login-btn {
    background-color: #f9f9fc;
    color: #2a2a2c;
    font-size: 16px;
    margin-top: -10px;
    box-shadow: 0px 3px 1px rgba(59, 58, 58, 0.1);
}

.login-page .back-to-login-btn:hover {
    background-color: #e4e5f0;
}

.login-page .error-mfa {
    margin-top: 15px;
    margin-bottom: -5px;
    height: 30px;
    justify-content: center;
}


/* ------------------------ */


/*      sign-up page          */


/* ------------------------ */

.signup-page .left-column {
    background: linear-gradient(to top left, #2B3168, #814890);
}

.signup-page .right-column {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.signup-page .top-row {
    height: 100px;
}

.signup-page .middle-row {
    height: calc(100% - 200px);
    width: 100%;
}

.signup-page .end-row {
    height: 100px;
    justify-content: center;
    align-content: center;
}

.signup-page .logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.signup-page .phase {
    padding: 0 15%;
    min-height: 1em;
    color: rgba(251, 252, 255, 0.2);
    user-select: none;
}

.signup-page .phase+.phase {
    margin-top: 4em
}

.signup-page .phase>div:first-child {
    position: static;
    height: 0;
}

.signup-page .phase>div:not(:first-child) {
    margin-left: 1.5em;
    padding-left: 1em;
}

.signup-page .phase.active {
    color: rgba(251, 252, 255, 1);
    /* 1 = 100% opacity */
}

.signup-page .phase_title {
    line-height: 1.5em;
    font-size: 20px;
}

.signup-page .phase_caption {
    font-size: 0.8em;
    margin-top: 3px;
    font-size: 16px;
    opacity: 50%;
}

.signup-page .phase-icon {
    margin-top: 4px;
    font-size: 24px;
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 48
}

.signup-page .login-btn {
    font-size: 16px;
    background: transparent;
    border: 0.5px solid #d9dae4;
    margin-bottom: 10px;
    width: 80%;
}

.signup-page .login-btn:hover {
    background-color: #fff;
    opacity: 50%;
    color: #000000;
}

.signup-page .step {
    display: none;
}

.signup-page h2 {
    font-family: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    font-weight: 400;
    user-select: none;
    padding-top: 20px;
    /* padding-bottom: 15px; */
}

.signup-page .note {
    display: flex;
    justify-content: center;
    font-size: 18px;
    font-weight: 300;
    color: #2a2a2c;
    user-select: none;
    /* margin-top: 5px; */
    margin-bottom: 20px;
}

.signup-page .form-container {
    width: 55%;
    min-width: 400px;
}

.signup-page .hr-with-text {
    position: relative;
}

.signup-page .hr-with-text hr {
    margin-top: 30px;
    margin-bottom: 30px;
    color: #48484b;
}

.signup-page .hr-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 10px;
    background-color: #fff;
    color: #48484b;
    font-size: 16px;
    user-select: none;
}

.signup-page .alter-signup-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.signup-page .alter-signup-btn {
    font-size: 15px;
    border: 0.5px solid #d9dae4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60%;
    height: 40px;
    font-weight: bold;
    box-shadow: 0px 3px 1px rgba(59, 58, 58, 0.1);
}

.signup-page .alter-signup-btn img {
    margin-right: 12px;
    width: 14px;
    height: 14px;
}

.signup-page .alter-signup-btn:hover,
.signup-page .alter-signup-btn:active {
    background-color: #e4e5f0;
    border: none;
}

.signup-page .error {
    border: 1px solid #aa0a0a;
}

.signup-page .field-label {
    font-size: 16px;
    padding-bottom: 5px;
    padding-left: 3px;
    font-weight: 500;
}

.signup-page input {
    box-shadow: 0px 1px 1px rgba(59, 58, 58, 0.1);
}

.signup-page .required-field-sign {
    color: rgb(192, 31, 31);
}

.signup-page input::placeholder {
    font-size: 14px;
}

.signup-page .criteria-check-block {
    display: flex;
    align-items: center;
    width: 33%;
    font-size: 14px;
    color: #31323b;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48
}

.signup-page .checked {
    color: #1b6e5c !important;
}

.signup-page .unchecked {
    color: #77798a;
}

.signup-page .check-icon {
    font-size: 16px;
    margin-right: 5px;
}

.signup-page .signup-btn {
    background-color: #1b6e5c;
    color: #fff;
    font-size: 16px;
    margin-top: 25px;
    margin-bottom: 10px;
    box-shadow: 0px 3px 1px rgba(59, 58, 58, 0.1);
    height: 50px;
}

.signup-page .signup-btn:hover {
    background-color: #1b806a;
    color: #fff;
}

.signup-page .agreement-note {
    display: flex;
    justify-content: center;
    color: #2a2a2c;
    font-size: 16px;
    margin-top: 15px;
}

.signup-page .policies-link {
    text-decoration: underline;
    color: #2a2a2c;
    margin-left: 5px;
}

.signup-page .form_top_icons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.signup-page .confirmation-note {
    display: flex;
    justify-content: center;
    font-size: 18px;
    font-weight: 300;
    color: #2a2a2c;
    user-select: none;
    margin-bottom: 20px;
    margin-top: 20px;
}

.signup-page .user-email {
    font-style: 600;
    color: #000000;
    margin-left: 5px;
}

.signup-page .confirmation-boxes {
    margin-top: 30px;
    margin-bottom: 30px;
}

.signup-page .number-input {
    height: 60px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 3px 1px rgba(59, 58, 58, 0.1);
    color: #48484b;
}

.signup-page .email-resend {
    text-decoration: underline;
    color: #2B3168;
    margin-left: 5px;
}

.signup-page .email-resend:hover {
    color: #591d68;
}

.signup-page .verify-btn {
    background-color: #1b6e5c;
    color: #fff;
    font-size: 16px;
    box-shadow: 0px 3px 1px rgba(59, 58, 58, 0.1);
    margin-top: 30px;
    height: 50px;
}

.signup-page .verify-btn:hover {
    background-color: #1b806a;
    color: #fff;
}

.signup-page .continue-btn {
    background-color: #1b6e5c;
    color: #fff;
    font-size: 16px;
    box-shadow: 0px 3px 1px rgba(59, 58, 58, 0.1);
    margin-top: 40px;
    height: 50px;
}

.signup-page .continue-btn:hover {
    background-color: #1b806a;
    color: #fff;
}

.signup-page .welcome-note {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 18px;
    font-weight: 300;
    color: #771161;
    user-select: none;
    margin-bottom: 30px;
    margin-top: 20px;
}

.signup-page .require-org-details {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 18px;
    margin-bottom: 10px;
}

.signup-page .create-org-btn {
    background-color: #1b6e5c;
    color: #fff;
    font-size: 16px;
    box-shadow: 0px 3px 1px rgba(59, 58, 58, 0.1);
    margin-top: 20px;
    height: 50px;
}

.signup-page .create-org-btn:hover {
    background-color: #1b806a;
    color: #fff;
}

.signup-page .org-page-note {
    display: flex;
    justify-content: center;
    font-size: 18px;
    font-weight: 300;
    color: #2a2a2c;
    user-select: none;
    margin-bottom: 35px;
}

.signup-page .form-select {
    font-size: 16px;
    box-shadow: 0px 3px 1px rgba(59, 58, 58, 0.1);
    color: #494648;
}

.signup-page .MFA-notes-container {
    margin-top: 20px;
}

.signup-page .MFA-note {
    display: flex;
    justify-content: center;
    font-size: 18px;
    font-weight: 300;
    color: #2a2a2c;
    user-select: none;
    margin-top: 5px;
}

.signup-page .auth-app {
    text-decoration: underline;
    color: #2B3168;
    margin-left: 5px;
}

.signup-page .auth-app:hover {
    color: #591d68;
}

.signup-page .qr_code_container {
    display: grid;
    place-items: center;
    height: 200px;
    margin-top: 30px;
    margin-bottom: 25px;
}

.signup-page .qr_code_container img {
    cursor: none;
    max-width: 100%;
    max-height: 100%;
}

.signup-page .enable-2fa-btn {
    background-color: #1b6e5c;
    color: #fff;
    font-size: 16px;
    box-shadow: 0px 3px 1px rgba(59, 58, 58, 0.1);
    margin-top: 30px;
    width: 100%;
}

.signup-page .enable-2fa-btn:hover {
    background-color: #1b806a;
    color: #fff;
}

.signup-page .skip-2fa {
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 300;
    color: #2a2a2c;
    user-select: none;
    margin-top: 20px;
    text-decoration: underline;
}

.signup-page .skip-2fa:hover {
    color: #591d68;
}

.signup-page .invite-team-note {
    display: flex;
    justify-content: center;
    font-size: 18px;
    font-weight: 300;
    color: #2a2a2c;
    user-select: none;
    margin-top: 10px;
}

.signup-page .inv-link-container {
    margin-top: 30px;
}

.signup-page .finish-reg-btn {
    background-color: #1b6e5c;
    color: #fff;
    font-size: 16px;
    box-shadow: 0px 3px 1px rgba(59, 58, 58, 0.1);
    margin-top: 30px;
    width: 100%;
    height: 50px;
}

.signup-page .finish-reg-btn:hover {
    background-color: #1b806a;
    color: #fff;
}

.signup-page .input-group-text {
    color: #6f7079;
}

.signup-page .icon-box {
    max-width: 45px;
    box-shadow: 0px 1px 1px rgba(59, 58, 58, 0.1);
}

.signup-page .form-icon {
    font-size: 20px;
    font-weight: 250;
    user-select: none;
}

.signup-page .copy-box {
    width: 100px;
    max-width: 100px;
    min-width: 100px;
    box-shadow: 0px 1px 1px rgba(59, 58, 58, 0.1);
    text-align: center;
    color: blue;
}

.signup-page .copy-box:hover {
    font-weight: bold;
}

.signup-page .text-container {
    display: inline-block;
    width: 100%;
    border: 1px solid lightgray;
    border-left-width: 5px;
    border-left-color: #2B3168;
    padding: 10px;
}

.signup-page .error-signup {
    margin-top: 20px;
    margin-bottom: -10px;
    padding-bottom: 20px;
    height: 100%;
    width: 100%;
    display: table;
}

.signup-page .alert-text {
    font-size: 15px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.signup-page .trailing-icon {
    background-color: transparent;
    cursor: pointer;
    max-width: 45px;
    box-shadow: 0px 1px 1px rgba(59, 58, 58, 0.1);
}

#messageBox {
    display: none;
}


/* .ForgotMyPasswordPage  */


/* ----------------------------------------------- */

.ForgotMyPasswordPage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.ForgotMyPasswordPage .logo {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

.ForgotMyPasswordPage h2 {
    font-family: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    font-weight: 400;
    user-select: none;
    padding-top: 20px;
    padding-bottom: 15px;
}

.ForgotMyPasswordPage .note {
    display: flex;
    justify-content: center;
    font-size: 16px;
    font-weight: 300;
    color: #2a2a2c;
    user-select: none;
    margin-top: 10px;
    margin-bottom: 30px;
}

.ForgotMyPasswordPage input {
    outline: none;
    font-size: 16px;
    color: #434555;
    box-shadow: 0px 1px 1px rgba(59, 58, 58, 0.1);
    min-width: 550px;
}

.ForgotMyPasswordPage .input-group-text {
    color: #6f7079;
}

.ForgotMyPasswordPage input::placeholder {
    font-size: 14px;
}

.ForgotMyPasswordPage .icon-box {
    max-width: 45px;
    box-shadow: 0px 1px 1px rgba(59, 58, 58, 0.1);
}

.ForgotMyPasswordPage .form-icon {
    font-size: 20px;
    font-weight: 250;
    user-select: none;
}

.ForgotMyPasswordPage .send-reset-code-btn {
    background-color: #1b6e5c;
    color: #fff;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 15px;
    box-shadow: 0px 3px 1px rgba(59, 58, 58, 0.1);
}

.ForgotMyPasswordPage .back-to-login-btn {
    background-color: #f9f9fc;
    color: #2a2a2c;
    font-size: 16px;
    margin-bottom: 25px;
    box-shadow: 0px 3px 1px rgba(59, 58, 58, 0.1);
}

.ForgotMyPasswordPage .send-reset-code-btn:hover {
    background-color: #1b806a;
    color: #fff;
}

.ForgotMyPasswordPage .back-to-login-btn:hover {
    background-color: #e4e5f0;
    /* color: #fff; */
}

.newPasswordSet .criteria-check-block {
    display: flex;
    align-items: center;
    width: 33%;
    font-size: 14px;
    color: #31323b;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48
}

.newPasswordSet .checked {
    color: #1b6e5c !important;
}

.newPasswordSet .unchecked {
    color: #77798a;
}

.newPasswordSet .check-icon {
    font-size: 16px;
    margin-right: 5px;
}

.newPasswordSet .trailing-icon {
    background-color: transparent;
    cursor: pointer;
    max-width: 45px;
    box-shadow: 0px 1px 1px rgba(59, 58, 58, 0.1);
}


/* ========================================== */


/* RTL Support for Login and Signup Pages */


/* ========================================== */

html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .login-page,
html[dir="rtl"] .signup-page {
    direction: rtl;
}

html[dir="rtl"] .login-page h2,
html[dir="rtl"] .login-page p,
html[dir="rtl"] .login-page label,
html[dir="rtl"] .login-page span:not(.material-symbols-outlined),
html[dir="rtl"] .signup-page h2,
html[dir="rtl"] .signup-page p,
html[dir="rtl"] .signup-page label,
html[dir="rtl"] .signup-page span:not(.material-symbols-outlined),
html[dir="rtl"] .signup-page .phase_title,
html[dir="rtl"] .signup-page .phase_caption {
    text-align: right;
    direction: rtl;
}


/* Login Page RTL */

html[dir="rtl"] .login-page .flex.flex-col.lg\:flex-row {
    flex-direction: row-reverse;
}

html[dir="rtl"] .login-page .left-column {
    order: 2;
    display: flex !important;
    /* Ensure left column is visible in RTL */
}


/* Ensure left column widgets are visible in RTL on large screens */

@media (min-width: 1024px) {
    html[dir="rtl"] .login-page .left-column.hidden.lg\:flex {
        display: flex !important;
    }
}


/* Ensure carousel and widgets are visible in RTL */

html[dir="rtl"] .login-page .left-column #myCarousel {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

html[dir="rtl"] .login-page .left-column .carousel-slide {
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
}


/* Prevent carousel track from reversing in RTL - keep slides in original order */

html[dir="rtl"] .login-page .left-column #carouselTrack {
    flex-direction: row !important;
    direction: ltr !important;
}

html[dir="rtl"] .login-page .right-column,
html[dir="rtl"] .login-page .flex-1 {
    order: 1;
}

html[dir="rtl"] .login-page .text-center {
    text-align: center !important;
}


/* Ensure paragraph text inside text-center div stays centered in RTL */

html[dir="rtl"] .login-page .text-center p {
    text-align: center !important;
}

html[dir="rtl"] .login-page input[type="email"],
html[dir="rtl"] .login-page input[type="password"] {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .login-page .relative .absolute.inset-y-0.left-0 {
    left: auto !important;
    right: 0 !important;
}

html[dir="rtl"] .login-page input.pl-10 {
    padding-left: 0.75rem !important;
    padding-right: 2.5rem !important;
}

html[dir="rtl"] .login-page input.pr-10 {
    padding-right: 0.75rem !important;
    padding-left: 2.5rem !important;
}


/* Password field in RTL: needs padding-right for lock icon, padding-left for toggle button */

html[dir="rtl"] .login-page input[type="password"].pl-10.pr-10 {
    padding-right: 2.5rem !important;
    /* Space for lock icon on right */
    padding-left: 2.5rem !important;
    /* Space for toggle button on left */
}

html[dir="rtl"] .login-page .absolute.inset-y-0.right-0 {
    right: auto !important;
    left: 0 !important;
}

html[dir="rtl"] .login-page .flex.justify-between {
    flex-direction: row-reverse;
}

html[dir="rtl"] .login-page .flex.items-center .ml-2 {
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
}

html[dir="rtl"] .login-page label {
    text-align: right;
}

html[dir="rtl"] .login-page .flex .ml-3 {
    margin-left: 0 !important;
    margin-right: 0.75rem !important;
}

html[dir="rtl"] .login-page .flex .ml-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

html[dir="rtl"] .login-page .flex .pl-3 {
    padding-left: 0 !important;
    padding-right: 0.75rem !important;
}


/* Signup Page RTL */

html[dir="rtl"] .signup-page .flex.flex-col.lg\:flex-row {
    flex-direction: row-reverse;
}

html[dir="rtl"] .signup-page .left-column {
    order: 2;
}

html[dir="rtl"] .signup-page .right-column,
html[dir="rtl"] .signup-page .w-full.lg\:w-2\/3 {
    order: 1;
}

html[dir="rtl"] .signup-page .text-center {
    text-align: center !important;
}

html[dir="rtl"] .signup-page input,
html[dir="rtl"] .signup-page textarea,
html[dir="rtl"] .signup-page select {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .signup-page .field-label {
    text-align: right;
}

html[dir="rtl"] .signup-page .phase {
    flex-direction: row-reverse;
}

html[dir="rtl"] .signup-page .phase .mr-4 {
    margin-right: 0 !important;
    margin-left: 1rem !important;
}

html[dir="rtl"] .signup-page .phase>div:not(:first-child) {
    margin-left: 0 !important;
    margin-right: 1.5em !important;
    padding-left: 0 !important;
    padding-right: 1em !important;
}

html[dir="rtl"] .signup-page .criteria-check-block {
    flex-direction: row-reverse;
    text-align: right;
    justify-content: flex-end;
}

html[dir="rtl"] .signup-page .check-icon {
    margin-right: 0 !important;
    margin-left: 5px !important;
}

html[dir="rtl"] .signup-page .relative .absolute.inset-y-0.right-0 {
    right: auto !important;
    left: 0 !important;
}

html[dir="rtl"] .signup-page input.pr-3 {
    padding-right: 0.75rem !important;
    padding-left: 2.5rem !important;
}

html[dir="rtl"] .signup-page .flex .ml-3 {
    margin-left: 0 !important;
    margin-right: 0.75rem !important;
}

html[dir="rtl"] .signup-page .flex .ml-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

html[dir="rtl"] .signup-page .flex .pl-3 {
    padding-left: 0 !important;
    padding-right: 0.75rem !important;
}

html[dir="rtl"] .signup-page .policies-link {
    margin-left: 0 !important;
    margin-right: 5px !important;
}

html[dir="rtl"] .signup-page .user-email {
    margin-left: 0 !important;
    margin-right: 5px !important;
}

html[dir="rtl"] .signup-page .email-resend {
    margin-left: 0 !important;
    margin-right: 5px !important;
}

html[dir="rtl"] .signup-page .auth-app {
    margin-left: 0 !important;
    margin-right: 5px !important;
}

html[dir="rtl"] .signup-page .text-container {
    border-left-width: 0 !important;
    border-right-width: 5px !important;
    border-left-color: transparent !important;
    border-right-color: #2B3168 !important;
}

html[dir="rtl"] .signup-page .grid {
    direction: rtl;
}


/* Forgot Password Page RTL */

html[dir="rtl"] .ForgotMyPasswordPage input {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .newPasswordSet .criteria-check-block {
    flex-direction: row-reverse;
    text-align: right;
    justify-content: flex-end;
}

html[dir="rtl"] .newPasswordSet .check-icon {
    margin-right: 0 !important;
    margin-left: 5px !important;
}


/* General RTL fixes for auth pages */

html[dir="rtl"] .login-page .alter-login-btn img,
html[dir="rtl"] .signup-page .alter-signup-btn img {
    margin-right: 0 !important;
    margin-left: 12px !important;
}


/* Language dropdown RTL positioning */

html[dir="rtl"] .fixed.top-4.right-4 {
    right: auto !important;
    left: 1rem !important;
}

html[dir="rtl"] #language-dropdown {
    right: auto !important;
    left: 0 !important;
}

html[dir="rtl"] #language-dropdown button.text-left {
    text-align: right !important;
}

html[dir="rtl"] #language-dropdown button .mr-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}


/* Ensure language switch is always visible */

#language-switch-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    top: 1rem !important;
    right: 1rem !important;
    z-index: 9999 !important;
}

#language-switch-container button {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#language-switch-container img {
    display: block !important;
    visibility: visible !important;
}

html[dir="rtl"] #language-switch-container,
html[dir="rtl"] .fixed.top-4.right-4,
html[dir="rtl"] div[style*="right: 1rem"] {
    right: auto !important;
    left: 1rem !important;
}


/* Fix dropdown positioning in RTL */

html[dir="rtl"] #language-dropdown {
    right: auto !important;
    left: 0 !important;
}


/* Ensure dropdown stays connected to button */

#language-dropdown {
    margin-top: 0.5rem !important;
}

html[dir="rtl"] #language-dropdown {
    margin-top: 0.5rem !important;
}

html[dir="rtl"] #language-dropdown button.text-left {
    text-align: right !important;
}

html[dir="rtl"] #language-dropdown button .mr-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}


/* Ensure signup page doesn't hide the language switch */

.signup-page {
    overflow-x: visible !important;
}

.signup-page>div:first-child {
    overflow: visible !important;
}


/* Warning message RTL support */

html[dir="rtl"] .signup-page .rounded-xl.p-6 .flex.items-start {
    flex-direction: row-reverse;
}

html[dir="rtl"] .signup-page .rounded-xl.p-6 .flex.items-start .mr-3 {
    margin-right: 0 !important;
    margin-left: 0.75rem !important;
}

html[dir="rtl"] .signup-page .rounded-xl.p-6 h3,
html[dir="rtl"] .signup-page .rounded-xl.p-6 p {
    text-align: right;
}


/* Ensure white text in light mode for sign-in button and left sidebar widgets */


/* Sign-in button - ensure white text in light mode */

.login-page button[type="submit"].text-white,
.login-page button.text-white,
.login-page button[type="submit"],
.login-page button[type="submit"].text-gray-900 {
    color: #ffffff !important;
}


/* Left sidebar widgets - ensure white text in light mode */

.login-page .left-column .text-white,
.login-page .left-column h4.text-white,
.login-page .left-column p.text-white,
.login-page .left-column .carousel-slide .text-white,
.login-page .left-column .carousel-slide h4.text-white,
.login-page .left-column .carousel-slide p.text-white {
    color: #ffffff !important;
}


/* Override text-gray-900 to white in left sidebar (for elements that may have gray-900 class) */

.login-page .left-column .text-gray-900,
.login-page .left-column h4.text-gray-900,
.login-page .left-column .carousel-slide h4.text-gray-900,
.login-page .left-column .carousel-slide .text-gray-900 {
    color: #ffffff !important;
}


/* Ensure white text is not overridden in light mode (more specific selectors) */

body:not(.dark-theme) .login-page button[type="submit"].text-white,
body:not(.dark-theme) .login-page button.text-white,
body:not(.dark-theme) .login-page button[type="submit"],
body:not(.dark-theme) .login-page button[type="submit"].text-gray-900,
body:not(.dark-theme) .login-page .bg-\[#6E4FA2\] .text-white {
    color: #ffffff !important;
}

body:not(.dark-theme) .login-page .left-column .text-white,
body:not(.dark-theme) .login-page .left-column h4.text-white,
body:not(.dark-theme) .login-page .left-column p.text-white,
body:not(.dark-theme) .login-page .left-column .carousel-slide .text-white,
body:not(.dark-theme) .login-page .left-column .carousel-slide h4.text-white,
body:not(.dark-theme) .login-page .left-column .carousel-slide p.text-white {
    color: #ffffff !important;
}


/* Override text-gray-900 to white in left sidebar for light mode */

body:not(.dark-theme) .login-page .left-column .text-gray-900,
body:not(.dark-theme) .login-page .left-column h4.text-gray-900,
body:not(.dark-theme) .login-page .left-column .carousel-slide h4.text-gray-900,
body:not(.dark-theme) .login-page .left-column .carousel-slide .text-gray-900 {
    color: #ffffff !important;
}


/* Force white color for login icon in purple background container */

.login-page .bg-\[#6E4FA2\] .material-symbols-outlined,
.login-page .bg-\[#6E4FA2\] .material-symbols-outlined.text-white,
.login-page .bg-\[#6E4FA2\] .material-symbols-outlined.text-gray-900 {
    color: #ffffff !important;
}

body:not(.dark-theme) .login-page .bg-\[#6E4FA2\] .material-symbols-outlined,
body:not(.dark-theme) .login-page .bg-\[#6E4FA2\] .material-symbols-outlined.text-white,
body:not(.dark-theme) .login-page .bg-\[#6E4FA2\] .material-symbols-outlined.text-gray-900 {
    color: #ffffff !important;
}


/* RTL spacing for icons in signup disabled page */

html[dir="rtl"] .flex.items-start .mr-3,
html[dir="rtl"] .flex.items-center .mr-3 {
    margin-right: 0 !important;
    margin-left: 0.75rem !important;
    /* Add spacing between icon and text in RTL */
}