@import url("https://fonts.googleapis.com/css2?family=Urbanist:wght@300;400;500;600;700;800&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Urbanist', Arial, sans-serif;
}

body {
    min-height: 100dvh;
    background-image: url("../img/bg/bg-hotel.jpeg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; /* Faz a imagem cobrir todo o container */
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(8, 22, 36, 0.44);
}

.login-bg-video {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

/* CONTAINER CENTRAL */
.login-container {
    width: 100%;
    min-height: 100dvh;
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* CAIXA LOGIN */
.login-box {
    width: min(380px, 100%);
    padding: 35px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 25px 45px rgba(0,0,0,0.25);
}

/* LOGO */
.logo {
    margin-bottom: 30px;
}

.logo img {
    max-height: 130px;
    max-width: min(250px, 100%);
    object-fit: contain;
}

.brand-wordmark {
    color: #ffffff;
    display: inline-flex;
    font-family: 'Urbanist', Arial, sans-serif;
    font-size: clamp(34px, 9vw, 46px);
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
    text-shadow: 0 8px 22px rgba(0, 0, 0, .28);
}

/* INPUTS */
.login-box input {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 15px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.6);
    background: transparent;
    font-size: 16px;
    outline: none;
    color: #fff;
}

.login-box input::placeholder {
    color: #fff;
}

/* BOTÃO */
.login-box button {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    border: none;
    background: #123551;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-box button:hover {
    background: #18293B;
    transform: translateY(-2px);
}

/* RESPONSIVO */
@media (max-width: 480px) {
    .login-container {
        align-items: flex-start;
        padding: 18px;
        padding-top: max(18px, env(safe-area-inset-top));
    }

    .login-box {
        padding: 24px 18px;
        border-radius: 12px;
        margin-top: 24px;
    }

    .logo {
        margin-bottom: 22px;
    }

    .logo img {
        max-width: min(220px, 82%);
    }

    .login-box button,
    .login-box input {
        min-height: 46px;
    }
}


/* A2 brand assets 2026 */
.logo.logo-saas img{width:min(190px,100%);height:auto;max-height:82px;object-fit:contain;display:block;margin:0 auto 18px;background:transparent}.logo.logo-tenant .brand-wordmark{font-size:18px;line-height:1.2;font-style:normal;font-weight: 600;letter-spacing:-.02em;color:#123551;text-align:center;display:block;margin-bottom:18px}.logo-preview-empty{border:1px dashed #cbd5e1;border-radius:16px;padding:18px;background:#f8fafc;color:#64748b;font-weight: 600;text-align:center}.a2-saas-login-logo{display:flex;justify-content:center;align-items:center;margin-bottom:28px}.a2-saas-login-logo img{width:min(310px,86vw);max-height:112px;object-fit:contain;background:transparent;border-radius:0;padding:0;box-shadow:none}
@media(max-width:520px){.a2-saas-login-logo img{width:min(260px,84vw);padding:0;border-radius:0}.logo.logo-saas img{max-height:62px;width:min(150px,100%)}}

/* Logo branca somente no login dos clientes */
.tenant-login-logo img{filter:brightness(0) invert(1)!important;background:transparent!important;border-radius:0!important;padding:0!important;box-shadow:none!important}
.tenant-login-logo .tenant-login-name{color:#fff!important}
