html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: Roboto, Arial, sans-serif;
    background: #0a1829;
}

.smc_login_background {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background: url('../images/background.webp') 50% 50% / cover no-repeat;
}

.smc_login_page {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 4.5rem 1rem 3.5rem;
    overflow: hidden;
}

.smc_login_overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .18), transparent 24rem),
        linear-gradient(135deg, rgba(7, 20, 35, .84), rgba(20, 77, 126, .58));
    backdrop-filter: blur(.5px);
    pointer-events: none;
}

.smc_login_brand {
    position: absolute;
    top: 1rem;
    left: 1.25rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .65rem;
}

.smc_login_logo_wrap {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .6rem;
    border-radius: .45rem;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 .25rem .8rem rgba(0, 0, 0, .16);
}

.smc_login_logo {
    display: block;
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.smc_login_logo_text {
    display: block;
    color: var(--brand-700);
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .04rem;
    white-space: nowrap;
}

.smc_login_version {
    color: rgba(255, 255, 255, .92);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06rem;
}

.smc_login_card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 25rem;
}

.smc_login_card .card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .88) !important;
    border-radius: 1rem;
    background: rgba(255, 255, 255, .99);
    box-shadow:
        0 2rem 5rem rgba(3, 12, 27, .42),
        0 0 0 .35rem rgba(255, 255, 255, .16);
}

.smc_login_card .card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
    pointer-events: none;
}

.smc_login_card .card-body {
    padding: 1.75rem;
}

.smc_login_card_brand {
    margin-bottom: 1.45rem;
    text-align: center;
}

.smc_login_card_logo {
    display: block;
    width: 68px;
    height: 68px;
    margin: 0 auto;
    object-fit: contain;
}

.smc_login_title {
    margin: .75rem 0 .2rem;
    color: var(--ink-900);
    font-size: 1.05rem;
    font-weight: 800;
}

.smc_login_description {
    margin: 0;
    color: var(--ink-500);
    font-size: .8rem;
    line-height: 1.45;
}

.smc_login_footer {
    position: absolute;
    right: 0;
    bottom: .8rem;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    color: rgba(255, 255, 255, .88);
    font-size: .72rem;
    pointer-events: none;
}

.smc_login_footer_content {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .3rem .7rem;
    border-radius: 999px;
    background: rgba(14, 27, 44, .72);
    text-align: center;
}

.smc_login_footer strong {
    color: #64ce9a;
}

.smc_login_footer_logo {
    width: .9rem;
    height: .9rem;
    object-fit: contain;
}

.grecaptcha-badge {
    z-index: 20 !important;
    opacity: 1 !important;
    filter: none !important;
}

@media (max-width: 576px) {
    .smc_login_page {
        align-items: flex-start;
        padding-top: 6.25rem;
    }

    .smc_login_brand {
        top: .85rem;
        right: 1rem;
        left: 1rem;
        justify-content: center;
    }

    .smc_login_logo_text {
        font-size: .76rem;
    }

    .smc_login_version {
        display: none;
    }

    .smc_login_card {
        max-width: 100%;
    }

    .smc_login_card .card-body {
        padding: 1.25rem;
    }

    .smc_login_footer_content {
        line-height: 1.35;
    }
}
