﻿html, body {
    height: 100%;
}

body {
    margin: 0;
}

.bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: #000;
}

.bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    transform: scale(1.02);
    filter: blur(8px) brightness(0.85);
}

.bg-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.55) 100% );
}

.login-shell {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 560px;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.22), 0 2px 6px rgba(0,0,0,0.08);
    padding: 28px 28px 22px;
}

.login-brand {
    text-align: center;
    margin-bottom: 8px;
}

.login-brand img {
    max-width: 170px;
    height: auto;
}

.login-subtitle {
    text-align: center;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .06em;
    color: #6b7280;
    font-weight: 900;
    margin: 10px 0 18px;
}

.wrap-login100 {
    width: 100%;
    background: transparent;
    box-shadow: none;
}

.login100-form {
    width: 100%;
}

.wrap-input100 {
    background: #f3f6fb;
    border-radius: 8px;
}

.input100 {
    background: transparent;
}

.login100-form-btn {
    border-radius: 8px;
    height: 52px;
    font-weight: 800;
    letter-spacing: .02em;
}

.login-foot {
    margin-top: 14px;
    text-align: center;
    color: #6b7280;
    font-size: 11px;
    line-height: 1.35;
}

.login-foot a {
    color: #6b7280;
    text-decoration: underline;
}

.login-foot .cta {
    margin-top: 10px;
}

.login-foot .cta span {
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .03em;
}

.login-foot .cta .qgreen {
    color: #57b846;
}

.login-foot .cta .muted {
    color: #9ca3af;
}

@media (max-width: 420px) {
    .login-card {
        padding: 22px 18px 18px;
        border-radius: 18px;
    }

    .login-brand img {
        max-width: 150px;
    }
}

.login-spinner {
    display: none;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    border: 2px solid rgba(255,255,255,0.5);
    border-top-color: #fff;
    border-radius: 50%;
    vertical-align: -4px;
    animation: spin 0.8s linear infinite;
}

.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.9;
}

.btn-loading .login-spinner {
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
