    /* Importing Google font - Open Sans */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

body {
    height: 100vh;
    width: 100%;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 0 10px;
}

.error#error-description,
#email-sent-description {
    margin: 0;
    text-align: left;
    box-sizing: initial;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


#email-sent-description {
    white-space: wrap;
    text-align: center;
    color: #bfbaba;
}


.errorContainer,
.errorContainer-confirming-password,
.email-sent-container {
    background: rgb(230, 186, 186);
    width: 100%;
    color: rgb(178, 23, 23);
    padding: 13px 10px;
    border-radius: 2px;
    font-size: 13px;
    display: none;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.errorContainer,
.errorContainer-confirming-password,
.email-sent-container {
    animation: right 0.5s ease-in;
}

.email-sent-container {
    background: #275360;
    justify-content: center;
    margin-top: 10px;
}

.navbar {
    display: flex;
    padding: 22px 0;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
    white-space: nowrap;

}


.navbar .logo {
    gap: 10px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar .logo img {
    width: 40px;
    border-radius: 50%;
}

.navbar .logo h2 {
    color: #12122c;
    font-weight: 600;
    font-size: 1.7rem;
}



.navbar .login-btn {
    border: none;
    outline: none;
    background: #fff;
    color: #275360;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 3px;
    cursor: pointer;
    transition: 0.15s ease;
    white-space: nowrap;
}

.navbar .login-btn:hover {
    background: #ddd;
}

.form-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 10;
    width: 100%;
    height: fit-content;
    max-height: 80%;
    overflow: auto;
    opacity: 0;
    pointer-events: none;
    max-width: 720px;
    background: #fff;
    border: 2px solid #fff;
    transform: translate(-50%, -70%);
}

.show-popup .form-popup {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, opacity 0.1s;
}



.form-popup .form-box {
    display: flex;
}


.form-box .form-content {
    width: 100%;
    padding: 35px;
}

.form-content p {
    text-align: center;
    display: block;
}

.form-box h2 {
    text-align: center;
    margin-bottom: 29px;
}

form .input-field {
    position: relative;
    height: 50px;
    width: 100%;
    margin-top: 20px;
}


.input-field input {
    height: 100%;
    width: 100%;
    background: none;
    outline: none;
    font-size: 16px;
    padding: 0 15px;
    border: 1px solid #717171;
    border-radius: 3px;
}

.input-field input:focus {
    border: 1px solid #333333;
}

.input-field .password-show {
    position: absolute;
    right: 10px;
    top: 35%;
    font-weight: 700;
    font-size: 13px;
    z-index: 11;
    cursor: pointer;
}

.input-field label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #4a4646;
    pointer-events: none;
    transition: 0.2s ease;
}

.form-control {
    width: fit-content;
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 13px;
    text-align: center;
    border-radius: 3px 0 0 3px;
    white-space: nowrap;
    color: #475F7B;
    background-color: #f7f5f5;
    border: 1px solid #717171;
    border-right: none;
    cursor: pointer;
}

 .input-field-number .form-control #countries-code {
    height: 100%;
    position: absolute;
    opacity: 0;
    z-index: 5;
}

.form-control:active {
    background-color: #bfbaba;
}

.form-control .country-render {
    display: flex;
    align-items: center;
}

.form-control span + span {
    transform: rotate(-90deg);
    color: #475F7B;
    transition: transform .2s ease;
}

.form-control span.toggling{
    transform: rotate(90deg);
}

.form-control span {
    padding: 0 7px;
}



form .input-field-number {
    display: flex;
    align-items: center;
}


form .input-field-number .input-number-container {
    position: relative;
    height: 50px;
    width: 100%;
    z-index: 9;
}


form .input-field-number input {
    border-radius: 0 3px 3px 0;
}


.input-field input:is(:focus, :valid) {
    padding: 16px 15px 0;
}

/* form .input-field-number input:is(:focus, :valid) {
    padding-left: 20%;
} */

.input-field input:is(:focus, :valid)~label {
    transform: translateY(-120%);
    color: #12122c;
    font-size: 0.75rem;
}

.form-box a {
    color: #576ae6;
    text-decoration: none;
}

.form-box a:hover {
    text-decoration: underline;
}

form :where(.forgot-pass-link, .policy-text) {
    display: inline-flex;
    margin-top: 13px;
    font-size: 0.95rem;
}

form button {
    width: 100%;
    color: #fff;
    border: none;
    outline: none;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 3px;
    cursor: pointer;
    margin: 25px 0;
    background: #12122c;
    transition: 0.2s ease;
}

form button:hover {
    background: #3d3d62;
}

.form-content .bottom-link {
    text-align: center;
}

.form-popup .signup,
.form-popup .reset,
.form-popup.show-signup .login,
.form-popup.show-reset .login,
.form-popup.show-reset .signup {
    display: none;
}

.form-popup.show-signup .signup,
.form-popup.show-reset .reset {
    display: flex;
}

.signup .policy-text {
    display: flex;
    margin-top: 14px;
    align-items: center;
}

.signup .policy-text input {
    width: 14px;
    height: 14px;
    margin-right: 7px;
}



@media (max-width: 950px) {

    .navbar {
        padding: 15px 0;
    }

    .navbar .logo h2 {
        font-size: 1.4rem;
    }

    .navbar .login-btn {
        font-size: 0.9rem;
        padding: 7px 10px;
    }
}

@media (max-width: 760px) {
    .form-popup {
        width: 95%;
    }

    .form-box .form-details {
        display: none;
    }

    .form-content p {
        display: block;
    }

    .form-box .form-content {
        padding: 30px 20px;
    }
}