@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600&display=swap");
* {
    font-family: "Lexend", sans-serif;
}

.login-navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 2rem;
    height: var(--navbar-height);
    position: relative;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.053);
    text-align: center;
}

.login-navbar .app-logo {
    display: flex;
    margin-top: 3rem;
    justify-content: center;
    text-align: center;
    height: 90%;
}

.login-navbar .app-logo img {
    height: 100%;
}

.login-wrapper {
    margin-top: 0rem !important;
    min-height: auto;
    height: fit-content;
    padding: 5rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 32rem;
    position: relative;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 50px 40px 20px 40px;
    background-color: transparent;
    box-shadow: light-dark(rgba(0, 0, 0, 0.02), rgba(199, 198, 198, 0.192)) 0px 1px 2px 0px, light-dark(rgba(27, 31, 35, 0.15), rgba(255, 255, 255, 0.044)) 0px 0px 0px 1px;
    border-radius: 01rem;
    font-family: "Inter", sans-serif;
    backdrop-filter: blur(2px);
}

.login-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -9;
    background: #7a058520;
    background: linear-gradient(180deg, rgb(10, 0, 11) 0%, light-dark(#ff952b, rgb(0, 195, 255)) 100%);
    opacity: 0.05;
}

.login-wrapper .login-container .title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.8rem;
}

.login-wrapper .login-container .title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: light-dark(rgb(28, 28, 28), CanvasText);
}

.login-wrapper .login-container .subtitle {
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
    line-height: 1.1rem;
    color: light-dark(#8b8e98, #dfdfdf);
}

.login-wrapper .login-container .form-switch {
    width: 100%;
    text-align: left;
}

.login-wrapper .login-container .form-switch label {
    font-weight: 600;
    color: #1d1d1dc1;
}

.login-wrapper .login-container .input-container {
    width: 100%;
    height: fit-content;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.login-wrapper .login-container .input-container .form-floating {
    margin: 0;
    padding: 0;
}

.login-wrapper .login-container .input-container .form-floating .form-control {
    background-color: transparent !important;
    border: none;
    border-radius: 0.3rem;
    -webkit-border-radius: 0.3rem;
    -moz-border-radius: 0.3rem;
    -ms-border-radius: 0.3rem;
    -o-border-radius: 0.3rem;
    box-shadow: light-dark(rgba(0, 0, 0, 0.02), rgba(234, 231, 231, 0.02)) 0px 1px 2px 0px, light-dark(rgba(27, 31, 35, 0.15), rgba(227, 229, 230, 0.15)) 0px 0px 0px 1px;
}

.login-wrapper .login-container .input-container .form-floating label {
    opacity: 0.9;
}

.login-wrapper .login-container .input-container .form-floating .form-control:focus {
    -webkit-animation: focusinput 1.5s infinite;
    animation: focusinput 1.5s infinite;
}

@keyframes focusinput {
    0% {
        box-shadow: 0 0 0 0 #05bada66, rgba(31, 124, 217, 0.46) 0px 0px 0px 2px;
    }
    70% {
        box-shadow: 0 0 0 10px rgb(218 103 68 / 0%), rgba(31, 124, 217, 0.46) 0px 0px 0px 2px;
    }
    100% {
        box-shadow: 0 0 0 0 rgb(218 103 68 / 0%), rgba(31, 124, 217, 0.46) 0px 0px 0px 2px;
    }
}

.login-wrapper .login-container .login-btn {
    --secondary-color: #fff;
    --hover-color: #115dfc;
    --arrow-width: 10px;
    --arrow-stroke: 2px;
    width: 100%;
    height: 3rem;
    border: 0;
    border-radius: 7px;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-color: #115bfcda;
    color: var(--secondary-color);
    padding: 1em 1.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    font-weight: bold;
    cursor: pointer;
}

.login-wrapper .login-container .login-btn.register,
.login-wrapper .login-container .login-btn.recaptcha {
    --secondary-color: CanvasText;
    background-color: transparent;
    color: CanvasText;
    box-shadow: rgba(0, 0, 0, 0.151) 0px 1px 3px 0px, light-dark(rgb(27, 31, 35), rgb(183, 189, 195)) 0px 0px 0px 1px;
}

.login-wrapper .login-container .login-btn .arrow-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-wrapper .login-container .login-btn .arrow {
    margin-top: 1px;
    width: var(--arrow-width);
    background: var(--primary-color);
    height: var(--arrow-stroke);
    position: relative;
    transition: 0.2s;
}

.login-wrapper .login-container .login-btn .arrow::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    border: solid var(--secondary-color);
    border-width: 0 var(--arrow-stroke) var(--arrow-stroke) 0;
    display: inline-block;
    top: -3px;
    right: 3px;
    transition: 0.2s;
    padding: 3px;
    transform: rotate(-45deg);
}

.login-wrapper .login-container .login-btn {
    background-color: var(--hover-color);
}

.login-wrapper .login-container .login-btn.register:hover {
    background-color: transparent;
}

.login-wrapper .login-container .login-btn:hover .arrow {
    background: var(--secondary-color);
}

.login-wrapper .login-container .login-btn:hover .arrow:before {
    right: 0;
}

.login-wrapper .login-container .separator {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    white-space: pre;
    color: #8b8e98;
}

.login-wrapper .login-container .separator .line {
    display: block;
    width: 100%;
    height: 1px;
    border: 0;
    background-color: #b6b6b6;
}

.login-wrapper .login-container .login-foot-note {
    font-size: 0.75rem;
    color: #8b8e98;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .login-wrapper {
        margin-top: 0rem !important;
        min-height: calc(100vh - var(--navbar-height) * 2.7);
    }
    .login-container {
        width: 100%;
        padding: 35px 20px 28px 20px;
        background-color: transparent;
        box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 2px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
        border-radius: 11px;
        font-family: "Inter", sans-serif;
    }
}