@import "/static/vendor/fonts/fonts.css";
@import "/static/colors.css";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color: white;
}

body {
    background: var(--bg-body);
}

.content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px 16px;
    background: url('../jerry-background.webp');
    background-size: cover;
    background-position: center 0%;
}

.login-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(146, 146, 146, 0.05);
    /* background-color: rgba(0, 0, 0, 0.8); */
    backdrop-filter: blur(10px);
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.14) 0px 0px 4px 0px, rgba(0, 0, 0, 0.06) 0px 4px 8px 0px;
}

.login-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.login-content h2 {
    padding-bottom: 30px;
    color: white;
}

.login-content form {
    display: flex;
    flex-direction: column;
    width: 320px;
    color: rgb(130, 137, 150);
    fill: rgb(130, 137, 150);
}

.login-content .wrap-input {
    width: 100%;
    margin-bottom: 10px;
    position: relative;
}

.login-content .wrap-input input {
    width: 100%;
    font-size: 0.9rem;
    line-height: 1.5;
    height: 45px;
    padding-left: 45px;
    border: 1px solid #ecf0fa;
    border-radius: 5px;
    color: rgb(130, 137, 150);
}


.login-content .wrap-input svg {
    position: absolute;
    top: calc(50% - 12px);
    left: 12px;
    pointer-events: none;
}

.login-content .wrap-input img {
    position: absolute;
    top: 0;
    right: 0;
    height: 45px;
    width: auto;
    border-radius: 5px;
}

.login-content .wrap-input input:focus {
    outline: none
}

.capthca {
    padding-left: 10px !important;
}

.login-content button {
    margin-top: 15px;
    background: linear-gradient(135deg, #ffca28, #ffb300);
    color: #111;
    font-weight: 600;
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.login-content button:hover {
    background: linear-gradient(135deg, #ffc107, #f59e0b);
    color: #111;
}

.login-content p {
    padding-top: 0.75rem;
    font-size: 0.85rem;
}

.login-content p a,
.login-content .reset a {
    text-decoration: none;
    color: var(--primary-bg-color);
    transition: 0.3s;
}

.login-content .reset {
    display: flex;
    justify-content: flex-end;
}

.login-content p a:hover,
.login-content .reset a:hover {
    color: white;
}

.black-box {
    height: 45px;
    width: 108px;
    background-color: black;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 5px;
}


@media (max-width: 1000px) {
    .login-wrap {
        border-radius: 8px;
        width: min(420px, 92vw);
    }

    .login-content {
        padding: 22px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .login-content form {
        width: 100%;
    }

    .login-content .wrap-input {
        margin-bottom: 10px;
    }

    .login-content .wrap-input input {
        height: 46px;
        padding-left: 44px;
        border-radius: 6px;
        font-size: 16px;
        /* avoid iOS auto-zoom */
    }

    .login-content .wrap-input svg {
        height: 20px;
        width: 20px;
        top: calc(50% - 10px);
        left: 12px;
    }

    .login-content .wrap-input img {
        height: 46px;
    }

    .login-content button {
        height: 46px;
        font-size: 15px;
        font-weight: 600;
    }

    .login-content h2 {
        padding-bottom: 18px;
        font-size: 22px;
    }

    .login-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 12px;
    }

    .login-wrap {
        width: 100%;
    }

    .login-content {
        padding: 18px 16px;
    }
}

@keyframes statusSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#__hl_overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b1220;
    color: #e8eef9;
    font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    z-index: 9999;
    transition: opacity .25s ease;
    opacity: 1;
}

#__hl_overlay.__hl_hide {
    opacity: 0;
    pointer-events: none;
}

#__hl_overlay .__hl_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 28px 36px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
    max-width: 360px;
    text-align: center;
}

#__hl_overlay .__hl_spinner {
    width: 38px;
    height: 38px;
    border: 3px solid rgba(255, 255, 255, .18);
    border-top-color: #7aa2ff;
    border-radius: 50%;
    animation: statusSpin .9s linear infinite;
}

#__hl_overlay .__hl_title {
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .2px;
}

#__hl_overlay .__hl_sub {
    font-size: 12px;
    color: #9aa7c2;
}

#__hl_overlay .__hl_btn {
    margin-top: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: #1c2740;
    color: #e8eef9;
    font: 600 13px/1 inherit;
    cursor: pointer;
}

#__hl_overlay .__hl_btn:hover {
    background: #27345a;
}

@media (prefers-color-scheme: light) {
    #__hl_overlay {
        background: #f6f8fc;
        color: #172033;
    }

    #__hl_overlay .__hl_card {
        background: rgba(0, 0, 0, .03);
        box-shadow: 0 10px 32px rgba(20, 30, 60, .12);
    }

    #__hl_overlay .__hl_sub {
        color: #5b6a87;
    }

    #__hl_overlay .__hl_spinner {
        border-color: rgba(0, 0, 0, .1);
        border-top-color: #3a6bff;
    }

    #__hl_overlay .__hl_btn {
        background: #fff;
        color: #172033;
        border-color: rgba(0, 0, 0, .12);
    }

    #__hl_overlay .__hl_btn:hover {
        background: #eef2fb;
    }
}