@font-face {
    font-family: 'font-1';
    src: url(../font/font.woff2) format('woff');
}

@font-face {
    font-family: 'font-2';
    src: url(../font/font-2.woff2) format('woff');
}

@font-face {
    font-family: 'font-3';
    src: url(../font/font-3.woff2) format('woff');
}

@font-face {
    font-family: 'font-4';
    src: url(../font/font-4.woff2) format('woff');
}




:root {
    --black: #1f1f1f;
    --Lightblack: #444746;
    --hoverColor: #0946a1;
    --errorColor: #fad5d2;
    --bgColor: #f0f4f8;
    --borderColor: #747775;
    --grey: #2e302e;
    --blue: #0a58d0;
    --white: #fff;
    --red: #b3261e;


}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

html,
body {
    font-size: 16px;
    width: 100%;
    background-color: var(--bgColor);
}


main {
    padding: 0 1rem;

}

.container {
    background-color: var(--white);
    margin: 8rem auto 0 auto;
    width: 100%;
    max-width: 1200px;
    border-radius: 25px;

}

.login-wrapper {
    padding: 3rem;
}

.login-divide {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.login-step1,
.login-step2 {
    display: none;
}

.active-page {
    display: block;
}

.error-border {
    border-color: var(--red) !important;
    outline: none;
}

.error-color {
    color: var(--red) !important;
}

.company-logo {
    width: 60px;
}

.error-img {
    width: 15px;
    cursor: pointer;
}

.arrow-img {
    width: 20px;
    cursor: pointer
}

.user-img {
    width: 25px;
    cursor: pointer
}

.login-heading {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 0.8rem;
}

.heading {
    font-family: font-1;
    font-size: 2.5rem;
    color: var(--black);
    font-weight: 400;
}

.subheading {
    font-family: font-1;
    font-size: 1.1rem;
    color: var(--black);
    font-weight: 500;
}

.user-previous_box {

    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin: 1rem 0 0 0.8rem;
    width: 100%;
    border: 2px solid var(--borderColor);
    background-color: transparent;
    border-radius: 50px;
    padding: 0.2rem 0.2rem 0.2rem 0.2rem;
}

.p-wrap {
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.p-wrap p {
    font-family: font-1;
    font-size: 1rem;
    font-weight: 500;
    color: var(--black);

}

.panel {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;

}

.container__input {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.scnd-container__input {
    margin-top: 3rem;
}

.email-input,
.password-input {
    font-family: font-1;
    font-size: 1rem;
    color: var(--black);
    width: 500px;
    /* line-height: 4rem; */
    padding: 1.2rem 0.5rem;
    border: 2px solid var(--borderColor);
    background-color: transparent;
    border-radius: 5px;
    outline-color: var(--blue);
}

/* Chrome / Edge / Opera */
input:-webkit-autofill {
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    color: var(--black) !important;
}

/* Firefox (no autofill pseudo-class, but we can detect change) */
input.filled {
    background-color: var(--white);
}

.input__placeholder {
    font-family: font-1;
    font-size: 1rem;
    color: var(--black);
    position: absolute;
    top: 25%;
    left: 0.5rem;
    transition: all 0.3s ease-in-out;
}

.email-error_container,
.password-error_container {
    font-family: font-1;
    font-size: 0.9rem;
    display: none;
    align-items: center;
    gap: 0.5rem;
    color: var(--red);
}

input:focus~.input__placeholder,
input:not(:placeholder-shown)~.input__placeholder {
    top: -7px;
    font-size: 0.9rem;
    background-color: var(--white);
    width: max-content;
    padding: 0 0.8rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.checkbox-wrapper label {
    font-family: font-1;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;


}

/* Customize Checkbox Start */
input[type="checkbox"] {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.1rem;
    height: 1.1rem;
    margin-right: 0.45rem;
    background-color: var(--white);
    border: 2px solid var(--black);
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

input[type="checkbox"]:checked {
    background-color: var(--blue);
    border: none;
}

input[type="checkbox"]::before {
    font-family: "Font Awesome 6 Free";
    content: "\f00c";
    font-weight: 900;
    font-size: 0.95rem;
    color: var(--white);
}

input[type="checkbox"]:checked:before {
    border-color: var(--white);
}

/* Customize Checkbox End */
.forgot-email {
    font-family: font-1;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    width: max-content;
    color: var(--blue);
    transition: all 0.5s ease-in-out;
}

.forgot-email:hover {
    color: var(--hoverColor);
}

.guest-side p {
    font-family: font-1;
    font-size: 1rem;
    color: var(--black);
    font-weight: 400;
    transition: all 0.5s ease-in-out;
}

.guest-side a {
    text-decoration: none;
    color: var(--blue);
    font-weight: 500;
}

.guest-side a:hover {
    text-decoration: underline;
    color: var(--hoverColor);
}

.create-account_next {
    display: flex;
    justify-content: end;
    gap: 2rem;
}

.Create-account {
    font-family: font-1;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--blue);
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.Create-account:hover {
    color: var(--hoverColor);

}

.next-btn,
.login-btn {
    display: flex;
    align-items: center;
    font-family: font-1;
    font-size: 1rem;
    font-weight: 400;
    color: var(--white);
    border-radius: 50px;
    padding: 0.7rem 1.7rem;
    background-color: var(--blue);
    border: none;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.next-btn:hover,
.login-btn:hover {
    background-color: var(--hoverColor);

}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem auto 2rem auto;
    max-width: 1200px;
    padding: 0 1rem;

}

.language-wraper {
    font-family: font-1;
    font-size: 0.8rem;
    color: var(--grey);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;

}

.footer-link a {
    font-family: font-1;
    font-size: 0.9rem;
    color: var(--grey);
    text-decoration: none;

}

/* Media Query */
@media(max-width:320px) {
    .container {
        margin: 0rem auto 0 auto;
        border-radius: 0px;

    }

    .login-divide {
        flex-direction: column;
    }

    .login-wrapper {
        padding: 1rem 1rem;
    }

    .email-input {
        width: 100%;
    }

    main {
        padding: 0;

    }

    .login-heading {
        padding-left: 0;
        margin-bottom: 1.5rem;
    }

    .guest-side p {
        font-size: 0.8rem;
    }

    .panel {
        gap: 1.1rem;
    }

    .guest-side a {
        display: ruby;
    }

    .create-account_next {
        justify-content: space-between;
        gap: 1rem;
    }

    .next-btn,
    .login-btn {
        padding: 0.4rem 1.4rem;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        justify-content: flex-start;
        padding: 0 1rem;
    }

    .language-wraper {
        gap: 1rem;
    }

    .email-input,
    .password-input {
        width: 100%;
    }

    .user-previous_box {
        margin: 1rem 0 0 0rem;
    }

    .scnd-container__input {
        margin-top: 2rem;
    }

}

@media(min-width:321px) and (max-width:375px) {
    .container {
        margin: 0rem auto 0 auto;
        border-radius: 0px;

    }

    .login-divide {
        flex-direction: column;
    }

    .login-wrapper {
        padding: 1rem 1rem;
    }

    .email-input {
        width: 100%;
    }

    main {
        padding: 0;

    }

    .login-heading {
        padding-left: 0;
        margin-bottom: 1.5rem;
    }

    .guest-side p {
        font-size: 0.8rem;
    }

    .panel {
        gap: 1.1rem;
    }

    .guest-side a {
        display: ruby;
    }

    .create-account_next {
        justify-content: space-between;
        gap: 1rem;
    }

    .next-btn,
    .login-btn {
        padding: 0.4rem 1.4rem;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        justify-content: flex-start;
        padding: 0 1rem;
    }

    .language-wraper {
        gap: 1rem;
    }

    .email-input,
    .password-input {
        width: 100%;
    }

    .user-previous_box {
        margin: 1rem 0 0 0rem;
    }

    .scnd-container__input {
        margin-top: 2rem;
    }

}

@media(min-width:376px) and (max-width:414px) {
     .container {
        margin: 0rem auto 0 auto;
        border-radius: 0px;

    }

    .login-divide {
        flex-direction: column;
    }

    .login-wrapper {
        padding: 1rem 1rem;
    }

    .email-input {
        width: 100%;
    }

    main {
        padding: 0;

    }

    .login-heading {
        padding-left: 0;
        margin-bottom: 1.5rem;
    }

    .guest-side p {
        font-size: 0.8rem;
    }

    .panel {
        gap: 1.1rem;
    }

    .guest-side a {
        display: ruby;
    }

    .create-account_next {
        justify-content: space-between;
        gap: 1rem;
    }

    .next-btn,
    .login-btn {
        padding: 0.4rem 1.4rem;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        justify-content: flex-start;
        padding: 0 1rem;
    }

    .language-wraper {
        gap: 1rem;
    }

    .email-input,
    .password-input {
        width: 100%;
    }

    .user-previous_box {
        margin: 1rem 0 0 0rem;
    }

    .scnd-container__input {
        margin-top: 2rem;
    }

}

@media(min-width:415px) and (max-width:540px) {
    .container {
        margin: 0rem auto 0 auto;
        border-radius: 0px;

    }

    .login-divide {
        flex-direction: column;
    }

    .login-wrapper {
        padding: 1rem 1rem;
    }

    .email-input {
        width: 100%;
    }

    main {
        padding: 0;

    }

    .login-heading {
        padding-left: 1rem;
        margin-bottom: 1.5rem;
    }

    .guest-side p {
        font-size: 0.8rem;
    }

    .panel {
        padding: 1rem;
        gap: 1.1rem;
    }

    .guest-side a {
        display: ruby;
    }

    .create-account_next {
        justify-content: space-between;
        gap: 1rem;
    }

    .next-btn,
    .login-btn {
        padding: 0.4rem 1.4rem;
    }
    .language-wraper {
        gap: 1rem;
    }

    .email-input,
    .password-input {
        width: 100%;
    }

    .user-previous_box {
        margin: 1rem 0 0 0rem;
    }

    .scnd-container__input {
        margin-top: 2rem;
    }

}

@media(min-width:541px) and (max-width:768px) {
   .container {
        margin: 0rem auto 0 auto;
        border-radius: 0px;

    }

    .login-divide {
        flex-direction: column;
    }

    .login-wrapper {
        padding: 1rem 1rem;
    }

    .email-input {
        width: 100%;
    }

    main {
        padding: 0;

    }

    .login-heading {
        padding-left: 1rem;
        margin-bottom: 1.5rem;
    }

    .guest-side p {
        font-size: 0.8rem;
    }

    .panel {
        padding: 1rem;
        gap: 1.1rem;
    }

    .guest-side a {
        display: ruby;
    }

    .create-account_next {
        justify-content: space-between;
        gap: 1rem;
    }

    .next-btn,
    .login-btn {
        padding: 0.4rem 1.4rem;
    }
    .language-wraper {
        gap: 1rem;
    }

    .email-input,
    .password-input {
        width: 100%;
    }

    .user-previous_box {
        margin: 1rem 0 0 0rem;
    }

    .scnd-container__input {
        margin-top: 2rem;
    }

}
@media(min-width:769px) and (max-width:992px) {
   .container {
        margin: 0rem auto 0 auto;
        border-radius: 0px;

    }

    .login-divide {
        flex-direction: column;
    }


    .login-wrapper {
        padding: 1rem 1rem;
    }

    .email-input {
        width: 400px;
    }

    main {
        padding: 0;

    }

    .login-heading {
        padding-left: 1rem;
        margin-bottom: 1.5rem;
    }

    .guest-side p {
        font-size: 0.8rem;
    }

    .panel {
        padding: 1rem;
        gap: 1.1rem;
    }

    .guest-side a {
        display: ruby;
    }

    .create-account_next {
        justify-content: space-between;
        gap: 1rem;
    }

    .next-btn,
    .login-btn {
        padding: 0.4rem 1.4rem;
    }
    .language-wraper {
        gap: 1rem;
    }

    .email-input,
    .password-input {
        width: 100%;
    }

    .user-previous_box {
        margin: 1rem 0 0 0rem;
    }

    .scnd-container__input {
        margin-top: 2rem;
    }

}

