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

:root {
    --frame-bg-color: #f4fcff;
    --primary-color: #515def;
    --border-color: #888;
    --error-color: red;
    --copyright-bg: #efebe1;
}

.auth {
    background-color: var(--frame-bg-color);
    height: 100vh;
    width: 100%;
    padding: 40px 100px;
    /* overflow: hidden; */
}

.logo {
    width: 120px;
}

.auth_in {
    padding: 60px 0;
}

.auth_frame {
    max-width: 1000px;
    margin: auto;
    border-radius: 30px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 55% 45%;
    position: relative;
    background-color: white;
}

.auth_left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 10%;
}

.auth_header > a {
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    color: black;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.auth_inp {
    margin-bottom: 24px;
}

.input_era {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    height: 50px;
    position: relative;
}

.input_era input {
    border: none;
    outline: none;
    font-size: 16px;
    width: 100%;
    height: 100%;
    padding: 0 15px;
    border-radius: 5px;
    background-color: white;
}

.input_era input[type="number"] {
    -moz-appearance: textfield;
}

.input_era input::-webkit-outer-spin-button,
.input_era input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input_era label {
    font-size: 16px;
    color: #73757a;
    position: absolute;
    top: 50%;
    left: 17px;
    transform: translateY(-50%);
    pointer-events: none;
    transition: all 0.2s linear;
}

.input_era input:focus ~ label.float_label,
.input_era input:not(:placeholder-shown) ~ label.float_label {
    top: 0;
    left: 12px;
    font-size: 12px;
    background-color: white;
    padding: 0 5px;
}

.pass_show_btn {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #444;
    font-size: 18px;
    cursor: pointer;
}

.auth_btm input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.auth_btm label {
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.auth_btm a {
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.submit_btn {
    background-color: var(--primary-color);
    color: white;
    width: 100%;
    height: 50px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    margin-top: 40px;
}

.auth_right {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.auth_right img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.copyright {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--copyright-bg);
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
}

.copyright p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.resend_code p {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
}

.resend_code p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

/* Responsive */

@media (max-width: 575px) {
    .auth {
        padding: 40px 20px;
    }

    .auth_frame {
        grid-template-columns: 100%;
    }

    .auth_left {
        padding: 40px 8%;
    }

    .auth_right,
    .copyright {
        display: none;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .auth {
        padding: 40px 60px;
    }

    .auth_frame {
        grid-template-columns: 100%;
    }

    .auth_right,
    .copyright {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .auth {
        padding: 40px 50px;
    }
}

.error_msg {
    color: var(--error-color);
    font-size: 14px;
    margin: 5px 0;
    /* display: none; */
}

.fw-lighter {
    font-weight: lighter !important;
}
.fw-light {
    font-weight: 300 !important;
}
.fw-normal {
    font-weight: 400 !important;
}
.fw-medium {
    font-weight: 500 !important;
}
.fw-semibold {
    font-weight: 600 !important;
}

.fw-medium {
    font-weight: 500;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-bolder {
    font-weight: bolder !important;
}

.footer-text {
    background: -webkit-gradient(
        linear,
        left top,
        right top,
        color-stop(10%, #1c84ee),
        color-stop(50%, #f9b931),
        color-stop(60%, #22c55e)
    );
    background: linear-gradient(
        to right,
        #1c84ee 10%,
        #f9b931 50%,
        #22c55e 60%
    );
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: textclip 2.5s linear infinite;
    animation: textclip 2.5s linear infinite;
    display: inline-block;
}

@-webkit-keyframes textclip {
    to {
        background-position: 200% center;
    }
}

@keyframes textclip {
    to {
        background-position: 200% center;
    }
}

.alert-icon {
    padding: 0.375rem 0.375rem;
}
