/* Login page only. Shared components (brand mark, icon inputs, gradient button, motion) live in base.css. */

body.bz-login-body {
    min-height: 100vh;
    margin: 0;
    background: #f5f7fb;
    color: #111827;
    font-size: 1rem;
}

.bz-login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

/* ---------- Brand panel ---------- */
.bz-login-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4.5rem);
    color: #e5e7eb;
    background: linear-gradient(135deg, #0b1020 0%, #1e1b4b 55%, #312e81 100%);
}
.bz-login-hero::before,
.bz-login-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    animation: bz-login-float 16s ease-in-out infinite;
}
.bz-login-hero::before {
    width: 460px;
    height: 460px;
    top: -150px;
    right: -120px;
    background: var(--bz-accent);
    opacity: .6;
}
.bz-login-hero::after {
    width: 380px;
    height: 380px;
    bottom: -140px;
    left: -100px;
    background: var(--bz-cyan);
    opacity: .3;
    animation-delay: -8s;
}
.bz-login-dots {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 65%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 65%, transparent);
}
.bz-login-hero-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: .3px;
    color: #fff;
}
.bz-login-hero-title {
    max-width: 30rem;
    margin: 0 0 1rem;
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: #fff;
}
.bz-login-hero-title span {
    background: linear-gradient(90deg, #a5b4fc, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.bz-login-hero-text {
    max-width: 28rem;
    margin: 0;
    font-size: 1rem;
    color: rgba(229, 231, 235, .75);
}

/* ---------- Form panel ---------- */
.bz-login-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.25rem;
    background: #fff;
}
.bz-login-form-wrap {
    width: 100%;
    max-width: 400px;
}
.bz-login-form-header { margin-bottom: 2rem; }
.bz-login-form-header .bz-logo-mark { margin-bottom: 1.25rem; }
.bz-login-form-title {
    margin: 0 0 .35rem;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -.02em;
}
.bz-login-form-subtitle {
    margin: 0;
    font-size: .95rem;
    color: #6b7280;
}

.bz-login-form-wrap .form-label {
    margin-bottom: .4rem;
    font-size: .85rem;
    font-weight: 600;
    color: #374151;
}

.bz-login-form-wrap .form-check-input {
    width: 1.1em;
    height: 1.1em;
    margin-top: .15em;
    border-color: #cbd5e1;
    cursor: pointer;
}
.bz-login-form-wrap .form-check-input:checked {
    background-color: var(--bz-accent);
    border-color: var(--bz-accent);
}
.bz-login-form-wrap .form-check-input:focus { box-shadow: 0 0 0 4px rgba(79, 70, 229, .15); }
.bz-login-form-wrap .form-check-label { color: #4b5563; cursor: pointer; }

.bz-login-form-wrap .alert { border: 0; border-radius: .8rem; font-size: .9rem; }

.bz-login-footer {
    margin-top: 2.5rem;
    text-align: center;
    font-size: .8rem;
    color: #9ca3af;
}

@keyframes bz-login-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -24px) scale(1.08); }
}

@media (max-width: 991.98px) {
    .bz-login-shell { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .bz-login-hero::before,
    .bz-login-hero::after { animation: none; }
}

/* Verification code field: spaced digits, easy to read while typing */
.bz-otp-input {
  letter-spacing: .3em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 1.1rem;
}
