﻿/* Login page should be true full-screen */
body {
    margin-top: 0 !important;
}

/* Stage */
.bt-login .slideshow-container.bt-login-stage {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

/* Background slideshow (same structure, better treatment) */
.bt-login .background-image.bt-login-slideshow {
    position: absolute;
    inset: 0;
    transform: scale(1.03);
}

    .bt-login .background-image.bt-login-slideshow img.bt-slide,
    .bt-login .slideshow-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        inset: 0;
        opacity: 0;
        animation: btFade 20s infinite;
    }

/* Stagger slides */
.bt-login .background-image img:nth-child(1) {
    animation-delay: 0s;
}

.bt-login .background-image img:nth-child(2) {
    animation-delay: 5s;
}

.bt-login .background-image img:nth-child(3) {
    animation-delay: 10s;
}

.bt-login .background-image img:nth-child(4) {
    animation-delay: 15s;
}

@keyframes btFade {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    33% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Scrim: charcoal → teal → subtle green edge */
.bt-login .bt-login-scrim {
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 700px at 15% 25%, rgba(209, 236, 81, 0.18), transparent 55%), radial-gradient(900px 600px at 85% 20%, rgba(37, 186, 167, 0.22), transparent 55%), linear-gradient(110deg, rgba(43, 48, 58, 0.78), rgba(43, 48, 58, 0.55) 45%, rgba(0, 0, 0, 0.40));
}

/* Foreground container */
.bt-login .login-form-container.bt-login-shell {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    min-height: 100vh;
}

/* Hero block */
.bt-login .bt-login-hero {
    color: rgba(255,255,255,0.92);
}

.bt-login .bt-brand-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
}


.bt-login .bt-brand-name {
    font-weight: 800;
    letter-spacing: -0.5px;
    font-size: 1.6rem;
    line-height: 1.05;
}

    .bt-login .bt-brand-name span {
        opacity: 0.95;
    }

.bt-login .bt-brand-tagline {
    margin-top: 2px;
    font-size: 0.95rem;
    opacity: 0.85;
}

.bt-login .bt-hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.05;
}

.bt-login .bt-hero-subtitle {
    margin-top: 10px;
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 44ch;
}

.bt-login .bt-badge {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.92);
    padding: 0.55rem 0.85rem;
    font-weight: 600;
}

.bt-login .bt-powered {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Card */
.bt-login .bt-login-card {
    border-radius: 22px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 70px rgba(0,0,0,0.28);
    overflow: hidden;
    position: relative;
}

    .bt-login .bt-login-card::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 5px;
        background: linear-gradient(90deg, #D1EC51, #25BAA7);
    }

/* Inputs */
.bt-login .bt-input {
    border-radius: 16px;
    border: 1px solid rgba(43, 48, 58, 0.14);
}

    .bt-login .bt-input:focus {
        border-color: rgba(37, 186, 167, 0.65);
        box-shadow: 0 0 0 0.25rem rgba(37, 186, 167, 0.18);
    }

/* Primary button */
.bt-login .bt-btn {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* Links */
.bt-login .bt-link {
    color: #25BAA7;
    text-decoration: none;
}

    .bt-login .bt-link:hover {
        color: #1f9f8f;
        text-decoration: underline;
    }

/* Mobile brand sizing */
.bt-login .bt-brand-name-sm {
    font-size: 1.45rem;
}

.bt-login .bt-brand-tagline-sm {
    font-size: 0.95rem;
    opacity: 0.8;
}




/* You have body { margin-top:57px; } globally — compensate correctly */
.bt-auth .login-container,
.bt-auth .slideshow-container {
    height: calc(100vh - 57px);
}

/* Don’t force 85vh on auth — that’s what’s causing scroll */
.bt-auth .slideshow-container {
    overflow: hidden;
}

/* On small screens allow scroll (recaptcha can be tall) */
@media (max-width: 767px) {
    .bt-auth .login-container,
    .bt-auth .slideshow-container {
        height: auto;
        min-height: calc(100vh - 57px);
        overflow: visible;
    }
}

/* ===== Auth primary button (BT Aqua → Green) ===== */

.bt-auth .btn-primary,
.bt-auth .btn.btn-primary {
    border: 0;
    background: linear-gradient(90deg, var(--bt-aqua), var(--bt-growth-green));
    color: #0b2d2a;
    font-weight: 800;
    letter-spacing: -0.2px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

    .bt-auth .btn-primary:hover,
    .bt-auth .btn.btn-primary:hover {
        filter: brightness(1.03);
        transform: translateY(-1px);
    }

    .bt-auth .btn-primary:active,
    .bt-auth .btn.btn-primary:active {
        transform: translateY(0);
    }


/* Password show/hide toggle */
.bt-login .bt-password-wrap {
    position: relative;
}

.bt-login .bt-password-input {
    padding-right: 3.25rem;
}

.bt-login .bt-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.85rem;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: rgba(43, 48, 58, 0.58);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .bt-login .bt-password-toggle:hover {
        color: #25BAA7;
        background: rgba(37, 186, 167, 0.10);
    }

    .bt-login .bt-password-toggle:focus {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(37, 186, 167, 0.18);
    }
