﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    list-style: none;
}

:root {
    --step--2: clamp(0.69rem, calc(0.58rem + 0.60vw), 1.00rem);
    --step--1: clamp(0.83rem, calc(0.67rem + 0.81vw), 1.25rem);
    --step-0: clamp(1.00rem, calc(0.78rem + 1.10vw), 1.56rem);
    --step-1: clamp(1.20rem, calc(0.91rem + 1.47vw), 1.95rem);
    --step-2: clamp(1.44rem, calc(1.05rem + 1.95vw), 2.44rem);
    --step-3: clamp(1.73rem, calc(1.21rem + 2.58vw), 3.05rem);
    --step-4: clamp(2.07rem, calc(1.39rem + 3.40vw), 3.82rem);
    --step-5: clamp(2.49rem, calc(1.60rem + 4.45vw), 4.77rem);
    /* Font style */

    --ff-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    /* Color style */

    --color-primary: #ff872f;
    --color-secondary: #ffa05b;
    --color-primary-dark: #199094;
    --color-error: #cc3333;
    --color-success: #4bb544;
    --color-link: #606470;
    --color-link-dark: #3c4245;
    --color-background: #f5f9ee;
    --color-border-sc: #ececec;
    --color-border-focus: #a9d7f6;
    --color-border: #eeeeee;
    --bs: #ffa857;
    --color-dark-grey: #a4a3a3;
    --main-color: #f4893c;
    --secondary-color: #ff6a00;
    --gradient: linear-gradient( to bottom, var(--main-color) 50%, var(--secondary-color) 100% );
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */

ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core root defaults */
html:focus-within {
    scroll-behavior: smooth;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
    font-family: var(--ff-primary);
}


/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
/* img,
picture {
  max-width: 100%;
  display: block;
} */

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


body {
    height: 100vh;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
}


.container {
    position: relative;
    width: 100%;
    max-width: 780px;
    height: 550px;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    padding: 3rem 0;
    overflow: hidden;
}

.form-container {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    -webkit-transition: all .6s ease-in-out;
    transition: all .6s ease-in-out;
}

form {
    width: 100%;
    height: 100%;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    flex-direction: column;
    background-color: #fff;
    padding: 0 2.5rem;
    text-align: center;
}

.header {
    color: var(--color-primary-dark);
    font-size: var(--step-1);
    font-weight: 500;
    /* text-align: center; */
    letter-spacing: 1px;
}

.description {
    font-size: var(--step--2);
    font-weight: 500;
}


/* ----------------- The start of SideShift Design ----------------- */

.sign-in-container {
    width: 50%;
    height: 100%;
    left: 0;
    z-index: 2;
}

.container.right-panel-active .sign-in-container {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
}

.sign-up-container {
    left: 0;
    width: 50%;
    height: 100%;
    opacity: 0;
    z-index: 1;
}

.container.right-panel-active .sign-up-container {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: show 0.6s;
}

@keyframes show {
    0%, 49.99% {
        opacity: 0;
        z-index: 1;
    }

    50%, 100% {
        opacity: 1;
        z-index: 5;
    }
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform .6s ease-in-out;
    z-index: 100;
}

.container.right-panel-active .overlay-container {
    transform: translateX(-100%);
}

.overlay {
    position: relative;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    color: #fff;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    background: var(--secondary-color);
    background: var(--gradient);
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-transition: transform .6s ease-in-out;
    transition: transform .6s ease-in-out;
}


.container.right-panel-active .overlay {
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
}

.overlay-panel {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    -webkit-transition: transform .6s ease-in-out;
    transition: transform .6s ease-in-out;
}


.overlay-left {
    -webkit-transform: translateX(-15%);
    transform: translateX(-15%);
    padding: 0 4.4rem;
}

.login_logo {
    width: 100%;
    position: relative;
    left: 0;
    top: -65px;
}

footer {
    font-weight: 300;
    position: absolute;
    bottom: 1rem;
}

    footer a {
        color: var(--color-primary-dark);
    }

        footer a:hover {
            text-decoration: underline;
        }

.container.right-panel-active .overlay-left {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.overlay-right {
    right: 0;
    top: 0;
    left: 50%;
    transform: translateX(0);
    padding: 0 3.4rem;
}

.container.right-panel-active .overlay-right {
    -webkit-transform: translateX(-15%);
    transform: translateX(-15%);
}

/* ----------------- The start of SideShift Design ----------------- */




span.under__social {
    display: grid;
    place-items: center;
    letter-spacing: 1px;
    margin-top: 1.8rem;
}

a.link,
a.login-link {
    color: var(--color-link);
}

    a.link:hover,
    a.login-link:hover {
        color: var(--color-link-dark);
        text-decoration: underline;
        -webkit-transition: all .4s ease;
        transition: all .4s ease;
    }

.button-input-group {
    width: 100%;
    display: grid;
    place-items: center;
    margin-top: .5rem;
}

.group {
    width: 100%;
    height: 47px;
    margin-bottom: 1.3rem;
}

    .group input,
    .group button {
        width: 100%;
        height: 100%;
        border: none;
        outline: none;
        border-radius: .4rem;
    }

    .group input {
        border: 2px solid var(--color-border);
        padding: 0 1.1rem;
    }

        .group input::placeholder {
            opacity: .8;
        }

.alert-text .help__text {
    position: absolute;
    left: 3.2rem;
    font-size: var(--step--2);
    margin-top: -1rem;
    opacity: .5;
}

.alert-text.signup__alert {
    margin-bottom: 2.2rem;
}

.form-link.forgot {
    margin: -.3rem 0 1.5rem 0;
}




/* -----------------The start of Validation* ----------------- */

input:focus,
input:not(:placeholder-shown) {
    background-color: var(--color-background);
    border-color: var(--color-border-focus);
}

input:valid:not(:placeholder-shown) {
    border-color: var(--color-success);
}

input:invalid:not(:placeholder-shown) {
    border-color: var(--color-error);
}
input:focus {
    border-color: var(--color-border-focus);
}

input.valid {
    border-color: var(--color-success);
}

input.invalid {
    border-color: var(--color-error);
}

/* -----------------The end of Validation* ----------------- */




.group.button-group {
    width: 70%;
}

button, .signin-btn {
    width: 100%;
    height: 100%;
    color: #fff;
    background-color: var(--color-primary);
    cursor: pointer;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
.group button:hover {
    background: var(--color-secondary);
}

.group button:active {
    transform: scale(0.95);
}

.group button:focus {
    outline: none;
}

.group button.ghost {
    background-color: transparent;
    border: 1px solid #fff;
    margin-top: 1.8rem;
}

    .group button.ghost:hover {
        background: #fff;
        color: var(--color-primary);
    }


/* CSP FIXED STYLES */

/* Highlight text (replaces inline style) */
.highlight-text {
    color: #ff872f;
}

/* Footer link fix */
.footer-link {
    color: white !important;
    text-decoration: none;
}

    .footer-link:hover {
        text-decoration: underline;
    }

/* OTP Modal container */
#clientFormContainer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* OTP box */
.addForm {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
}

/* Loader overlay */
#ajaxOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
    z-index: 9998;
}
    /* This was missing — without it show-flex does nothing */
    #ajaxOverlay.show-flex {
        display: flex;
    }
.alert-box {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 1rem;
    font-size: 13px;
    border-radius: 6px;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    text-align: center;
}
.alert-box-success {
    background: #d1fae5;
    color: #065f46;
    border-color: #6ee7b7;
}
#loaderBox {
    width: 48px;
    height: 48px;
    border: 5px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: loaderSpin 0.8s linear infinite;
}

@keyframes loaderSpin {
    to {
        transform: rotate(360deg);
    }
}


/*START Verify Otp parialview*/
/* =========================================================
   OTP VERIFICATION
   ========================================================= */

.otp-verification-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
}

.otp-card {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 34px 32px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.otp-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #eef4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.otp-header {
    text-align: center;
    margin-bottom: 24px;
}

    .otp-header h2 {
        margin: 0 0 9px;
        font-size: 24px;
        font-weight: 700;
        color: #1f2937;
    }

    .otp-header p {
        margin: 0;
        color: #6b7280;
        font-size: 14px;
        line-height: 1.6;
    }

.otp-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #f0f7ff;
    border: 1px solid #cfe3ff;
    color: #24527a;
    font-size: 13px;
    line-height: 1.5;
}

.otp-message-icon {
    flex-shrink: 0;
    font-size: 15px;
    margin-top: 1px;
}

.otp-form-group {
    margin-bottom: 20px;
}

    .otp-form-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 14px;
        font-weight: 600;
        color: #374151;
    }

.otp-input {
    width: 100%;
    height: 52px;
    box-sizing: border-box;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 6px;
    text-align: center;
    color: #111827;
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .otp-input::placeholder {
        font-size: 14px;
        font-weight: 400;
        letter-spacing: normal;
        color: #9ca3af;
    }

    .otp-input:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    }

.otp-form-group small {
    display: block;
    margin-top: 7px;
    color: #9ca3af;
    font-size: 12px;
}

.otp-submit-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

    .otp-submit-btn:hover {
        background: #1d4ed8;
    }

    .otp-submit-btn:active {
        transform: translateY(1px);
    }

    .otp-submit-btn:focus-visible {
        outline: 3px solid rgba(37, 99, 235, 0.25);
        outline-offset: 2px;
    }

.otp-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
}

.otp-footer-note {
    display: block;
    margin-top: 4px;
    color: #9ca3af;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 480px) {

    .otp-verification-wrapper {
        padding: 20px 12px;
    }

    .otp-card {
        padding: 28px 20px;
        border-radius: 12px;
    }

    .otp-header h2 {
        font-size: 21px;
    }

    .otp-input {
        height: 50px;
        font-size: 20px;
    }
}
/*END Verify Otp parialview*/

/* =========================================================
   START - VIEW PASSWORD EYE
   ========================================================= */

.password-input-group {
    position: relative;
    width: 100%;
}

    .password-input-group input {
        width: 100%;
        padding-right: 45px !important;
    }

    .password-input-group .password-toggle {
        position: absolute !important;
        right: 12px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        max-width: 28px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        outline: none !important;
        background: transparent !important;
        color: #666 !important;
        font-size: 17px !important;
        line-height: 28px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        box-shadow: none !important;
    }

        .password-input-group .password-toggle:hover {
            background: transparent !important;
            color: #222 !important;
        }

        .password-input-group .password-toggle:focus {
            background: transparent !important;
            outline: none !important;
            box-shadow: none !important;
        }

        .password-input-group .password-toggle:active {
            background: transparent !important;
            border: none !important;
            box-shadow: none !important;
        }

/* =========================================================
   END - VIEW PASSWORD EYE
   ========================================================= */
/* =========================================================
   RESET PASSWORD
   ========================================================= */

.reset-password-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
}

.reset-password-form {
    width: 100%;
    max-width: 450px;
    padding: 35px 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

    .reset-password-form h2 {
        margin: 0 0 10px 0;
        text-align: center;
        font-size: 28px;
        color: #333;
    }

.reset-password-description {
    margin: 0 0 30px 0;
    text-align: center;
    color: #777;
    font-size: 14px;
}

.reset-password-group {
    margin-bottom: 20px;
}

    .reset-password-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #444;
    }

    .reset-password-group .password-input-group {
        position: relative;
        width: 100%;
    }

        .reset-password-group .password-input-group input {
            width: 100%;
            padding-right: 45px !important;
            box-sizing: border-box;
        }


/* =========================================================
   PASSWORD EYE
   ========================================================= */

.reset-password-form .password-toggle {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    color: #666 !important;
    font-size: 17px !important;
    line-height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

    .reset-password-form .password-toggle:hover {
        background: transparent !important;
        color: #222 !important;
    }

    .reset-password-form .password-toggle:focus {
        background: transparent !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .reset-password-form .password-toggle:active {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }


/* =========================================================
   RESET PASSWORD PAGE
   ========================================================= */

.reset-password-page {
    margin: 0;
    min-height: 100vh;
    background: #f4f6f9;
    font-family: Arial, sans-serif;
}

.reset-password-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    box-sizing: border-box;
}

.reset-password-form {
    width: 100%;
    max-width: 430px;
    padding: 35px 40px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
}

.reset-password-logo {
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 700;
    color: #087df5;
}

.reset-password-form h2 {
    margin: 0 0 10px 0;
    text-align: center;
    font-size: 27px;
    color: #333;
}

.reset-password-description {
    margin: 0 0 28px 0;
    text-align: center;
    color: #777;
    font-size: 14px;
}

.reset-password-group {
    margin-bottom: 20px;
}

    .reset-password-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #444;
    }

    .reset-password-group .password-input-group {
        position: relative;
        width: 100%;
    }

        .reset-password-group .password-input-group input {
            width: 100%;
            height: 46px;
            padding: 0 45px 0 14px !important;
            box-sizing: border-box;
            border: 1px solid #ddd;
            border-radius: 7px;
            font-size: 15px;
            outline: none;
        }

            .reset-password-group .password-input-group input:focus {
                border-color: #ff7f27;
            }


/* =========================================================
   PASSWORD EYE
   ========================================================= */

.reset-password-form .password-toggle {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    color: #666 !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

    .reset-password-form .password-toggle:hover {
        background: transparent !important;
        color: #222 !important;
    }

    .reset-password-form .password-toggle:focus {
        outline: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }


/* =========================================================
   ERROR
   ========================================================= */

.reset-password-error {
    margin-bottom: 15px;
    padding: 10px 12px;
    border-radius: 6px;
    background: #fff1f1;
    color: #d32f2f;
    font-size: 14px;
}


/* =========================================================
   BUTTON
   ========================================================= */

.reset-password-btn {
    width: 100%;
    height: 46px;
    margin-top: 5px;
    border: none;
    border-radius: 7px;
    background: #ff7f27;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
}

    .reset-password-btn:hover {
        background: #f36f16;
    }


/* =========================================================
   FOOTER
   ========================================================= */

.reset-password-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 12px;
    color: #999;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 500px) {

    .reset-password-wrapper {
        padding: 20px 15px;
    }

    .reset-password-form {
        padding: 30px 25px;
    }
}