/* The Groove Dance Studio - Modern Auth Page */
:root {
    --bb-auth-pink: #ff3d9a;
    --bb-auth-hot: #ff0f7b;
    --bb-auth-purple: #7b2ff7;
    --bb-auth-dark: #0d0712;
    --bb-auth-card: rgba(18, 12, 28, 0.78);
    --bb-auth-white: #ffffff;
    --bb-auth-muted: rgba(255,255,255,.72);
    --bb-auth-border: rgba(255,255,255,.16);
    --bb-auth-shadow: 0 30px 90px rgba(10, 4, 18, .55);
}

html,
body {
    min-height: 100%;
    background: var(--bb-auth-dark) !important;
}

body {
    overflow-x: hidden;
}

.bb-auth-page {
    position: relative;
    min-height: 100vh;
    padding: 42px 0 76px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 14% 18%, rgba(255, 61, 154, .30), transparent 30%),
        radial-gradient(circle at 84% 22%, rgba(123, 47, 247, .28), transparent 34%),
        linear-gradient(135deg, #09050e 0%, #16091e 45%, #050307 100%);
    isolation: isolate;
    overflow: hidden;
}

.bb-auth-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255,255,255,.08), transparent 28%, rgba(255, 61, 154, .08) 54%, transparent 72%),
        radial-gradient(circle at 50% 110%, rgba(255,255,255,.08), transparent 38%);
    pointer-events: none;
    z-index: -3;
}

.bb-auth-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 78%, transparent);
    opacity: .5;
    z-index: -2;
}

.bb-auth-bg {
    position: absolute;
    border-radius: 999px;
    filter: blur(8px);
    opacity: .68;
    pointer-events: none;
    z-index: -1;
    animation: bbFloat 8s ease-in-out infinite alternate;
}

.bb-auth-bg-one {
    width: 430px;
    height: 430px;
    left: -170px;
    bottom: 6%;
    background: radial-gradient(circle, rgba(255, 61, 154, .40), transparent 66%);
}

.bb-auth-bg-two {
    width: 520px;
    height: 520px;
    right: -190px;
    top: -150px;
    background: radial-gradient(circle, rgba(123, 47, 247, .45), transparent 68%);
    animation-delay: -2.2s;
}

@keyframes bbFloat {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(22px, -26px, 0) scale(1.07); }
}

.bb-auth-shell {
    position: relative;
    z-index: 1;
}

.bb-auth-card {
    display: grid;
    grid-template-columns: minmax(360px, 1.06fr) minmax(360px, .94fr);
    min-height: 650px;
    border: 1px solid var(--bb-auth-border);
    border-radius: 34px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.04));
    box-shadow: var(--bb-auth-shadow);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.bb-auth-visual,
.bb-auth-form-panel {
    position: relative;
}

.bb-auth-visual {
    color: var(--bb-auth-white);
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 61, 154, .15), rgba(123, 47, 247, .16)),
        radial-gradient(circle at 18% 22%, rgba(255,255,255,.16), transparent 22%);
}

.bb-auth-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(150deg, rgba(0,0,0,.12), rgba(0,0,0,.48)),
        url("../../../assets/images/cover-pattern.png");
    opacity: .55;
}

.bb-auth-visual::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -110px;
    bottom: -120px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.22);
    background: radial-gradient(circle, rgba(255,61,154,.28), transparent 64%);
}

.bb-auth-visual-inner {
    position: relative;
    z-index: 1;
    min-height: 100%;
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}

.bb-auth-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: rgba(255,255,255,.88);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    box-shadow: 0 12px 34px rgba(0,0,0,.18);
    font-weight: 700;
    letter-spacing: .02em;
}

.bb-auth-badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bb-auth-pink);
    box-shadow: 0 0 0 8px rgba(255, 61, 154, .14), 0 0 22px rgba(255, 61, 154, .95);
}

.bb-auth-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(360px, 86%);
    min-height: 230px;
    margin: 8px auto 0;
    padding: 24px;
    border-radius: 32px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 30px 70px rgba(0,0,0,.30), inset 0 0 0 1px rgba(255,255,255,.75);
    transform: rotate(-1.5deg);
    transition: transform .35s ease, box-shadow .35s ease;
}

.bb-auth-logo-wrap:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 0 36px 90px rgba(0,0,0,.36), 0 0 40px rgba(255,61,154,.18);
}

.bb-auth-logo {
    display: block;
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.bb-auth-brand-lockup{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;color:#172a3b}.bb-auth-brand-lockup i{display:grid;place-items:center;width:76px;height:76px;margin-bottom:5px;border-radius:24px;background:linear-gradient(145deg,#16b8a6,#128b8c);color:#fff;font-size:38px;box-shadow:0 15px 30px rgba(18,139,140,.22)}.bb-auth-brand-lockup strong{font-size:25px;font-weight:850;letter-spacing:2.5px}.bb-auth-brand-lockup small{color:#728094;font-size:11px;font-weight:800;letter-spacing:4px}

.bb-auth-hero-copy {
    max-width: 520px;
}

.bb-auth-kicker {
    color: #ffd8eb;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: .16em;
    font-size: 12px;
}

.bb-auth-hero-copy h1 {
    color: #fff;
    font-size: clamp(32px, 4.1vw, 54px);
    line-height: .98;
    letter-spacing: -.05em;
    margin-bottom: 18px;
    font-weight: 900;
}

.bb-auth-hero-copy p:last-child {
    color: var(--bb-auth-muted);
    font-size: 16px;
    line-height: 1.75;
    margin: 0;
}

.bb-auth-feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.bb-auth-feature-card {
    min-height: 96px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.10);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.bb-auth-feature-card i {
    font-size: 26px;
    color: #ffc2df;
}

.bb-auth-feature-card span {
    font-weight: 800;
}

.bb-auth-form-panel {
    padding: clamp(32px, 5vw, 58px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--bb-auth-white);
    background: rgba(8, 5, 13, .62);
}

.bb-auth-form-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 14%, rgba(255,61,154,.13), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,.05), transparent 38%);
    pointer-events: none;
}

.bb-auth-form-panel > * {
    position: relative;
    z-index: 1;
}

.bb-auth-form-header {
    margin-bottom: 32px;
}

.bb-auth-pill {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid rgba(255,61,154,.28);
    background: rgba(255,61,154,.12);
    color: #ffc2df;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11px;
    margin-bottom: 16px;
}

.bb-auth-form-header h2 {
    color: #fff;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 900;
    letter-spacing: -.045em;
    margin-bottom: 8px;
}

.bb-auth-form-header p {
    color: var(--bb-auth-muted);
    margin: 0;
    font-size: 16px;
}

.bb-auth-form .form-label {
    color: rgba(255,255,255,.86);
    font-weight: 800;
    margin-bottom: 10px;
}

.bb-auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.bb-auth-input-wrap > i {
    position: absolute;
    left: 18px;
    z-index: 2;
    font-size: 20px;
    color: rgb(0 0 0 / 62%);
    pointer-events: none;
}

.bb-auth-input-wrap .form-control {
    min-height: 58px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    padding-left: 52px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.bb-auth-input-wrap .form-control::placeholder {
    color: rgba(255,255,255,.40);
    font-weight: 600;
}

.bb-auth-input-wrap .form-control:focus {
    color: #fff;
    background: rgba(255,255,255,.115);
    border-color: rgba(255,61,154,.76);
    box-shadow: 0 0 0 .22rem rgba(255,61,154,.14), 0 16px 34px rgba(255,61,154,.09);
}

.bb-auth-eye-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.70);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color .2s ease, background .2s ease;
}

.bb-auth-eye-btn:hover {
    color: #fff;
    background: rgba(255,61,154,.20);
}

.bb-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
}

.bb-auth-check {
    color: rgba(255,255,255,.75);
    font-weight: 700;
}

.bb-auth-check .form-check-input {
    border-color: rgba(255,255,255,.26);
    background-color: rgba(255,255,255,.08);
}

.bb-auth-check .form-check-input:checked {
    background-color: var(--bb-auth-pink);
    border-color: var(--bb-auth-pink);
}

.bb-auth-status {
    color: rgba(255,255,255,.62);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
}

.bb-auth-status i {
    color: #2ef2a2;
}

.bb-auth-login-btn {
    min-height: 60px;
    border: 0;
    border-radius: 18px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--bb-auth-hot), var(--bb-auth-purple));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
    box-shadow: 0 22px 45px rgba(255,15,123,.28), inset 0 1px 0 rgba(255,255,255,.22);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.bb-auth-login-btn:hover,
.bb-auth-login-btn:focus {
    transform: translateY(-2px);
    filter: saturate(1.08);
    box-shadow: 0 28px 58px rgba(255,15,123,.36), 0 0 0 .22rem rgba(255,61,154,.13);
}

.bb-auth-login-btn:disabled {
    opacity: .86;
    transform: none;
    cursor: not-allowed;
}

.bb-auth-login-btn.is-error {
    background: linear-gradient(135deg, #ff3b54, #c9184a);
    box-shadow: 0 18px 38px rgba(255,59,84,.28);
}

.bb-auth-message {
    min-height: 22px;
    margin-top: 14px;
    color: rgba(255,255,255,.70);
    font-weight: 700;
    text-align: center;
}

.bb-auth-message.is-error {
    color: #ff9ab3;
}

.bb-auth-message.is-success {
    color: #8ff7c6;
}

body > .footer {
    position: fixed;
    left: 0 !important;
    right: 0;
    bottom: 0;
    z-index: 20;
    background: rgba(7, 4, 11, .68) !important;
    border-top: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: rgba(255,255,255,.58);
}

body > .footer a {
    color: rgba(255,255,255,.88);
}

@media (max-width: 991.98px) {
    .bb-auth-page {
        padding: 28px 0 92px;
        align-items: flex-start;
    }

    .bb-auth-card {
        grid-template-columns: 1fr;
        border-radius: 28px;
        min-height: auto;
    }

    .bb-auth-visual-inner {
        padding: 30px;
    }

    .bb-auth-logo-wrap {
        width: min(280px, 82%);
        min-height: 180px;
    }

    .bb-auth-logo {
        max-height: 170px;
    }

    .bb-auth-feature-list {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .bb-auth-form-panel {
        padding: 34px 28px 38px;
    }
}

@media (max-width: 575.98px) {
    .bb-auth-page {
        padding: 16px 0 105px;
    }

    .bb-auth-card {
        border-radius: 24px;
    }

    .bb-auth-visual-inner {
        padding: 24px;
        gap: 22px;
    }

    .bb-auth-badge {
        font-size: 12px;
    }

    .bb-auth-hero-copy h1 {
        font-size: 32px;
    }

    .bb-auth-hero-copy p:last-child {
        font-size: 14px;
    }

    .bb-auth-feature-list {
        gap: 10px;
    }

    .bb-auth-feature-card {
        min-height: 78px;
        padding: 12px;
        border-radius: 16px;
        font-size: 12px;
    }

    .bb-auth-feature-card i {
        font-size: 22px;
    }

    .bb-auth-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    body > .footer .col-sm-6,
    body > .footer .text-sm-end {
        text-align: center !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
