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

.auth-captcha {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 8.5rem;
    gap: 0.75rem;
}

.public-video-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.public-video-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
}

.public-video-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at top center, rgba(91, 75, 255, 0.24), transparent 30rem),
        rgba(9, 13, 24, 0.58);
}

.public-card {
    width: min(100%, 34rem);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(17, 24, 39, 0.54);
    box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(18px);
    color: #fff;
}

.public-card .nav-pills {
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.public-card .nav-pills .nav-link {
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0.85rem;
}

.public-card .nav-pills .nav-link.active {
    color: #fff;
    background: rgba(91, 75, 255, 0.84);
    box-shadow: 0 0.75rem 2rem rgba(91, 75, 255, 0.28);
}

.public-card .form-label,
.public-card .text-body-secondary {
    color: rgba(255, 255, 255, 0.76) !important;
}

.public-card .form-control,
.public-card .form-select,
.public-card .input-group-text {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.9);
}

.public-card .form-control:focus,
.public-card .form-select:focus {
    background: #fff;
}

.public-card .form-text,
.public-card small {
    color: rgba(255, 255, 255, 0.7) !important;
}

.public-card .alert {
    border: 0;
}

.public-agent-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.public-card .captcha-button {
    padding: 0;
    border-radius: 0.85rem;
    overflow: hidden;
    min-width: 8.25rem;
}

.public-card .captcha-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .auth-captcha {
        grid-template-columns: 1fr;
    }

    .public-card {
        width: 100%;
    }

    .public-card .nav-pills {
        flex-wrap: wrap;
    }
}
