/* =========================================================
   BOOKAR ONLINE
   AUTH EXPERIENCE - THEME 8
   Login / Cadastro / Recuperacao
   ========================================================= */

:root {
    --bookar-yellow: #ffc800;
    --bookar-black: #111111;
    --bookar-text: #202020;
    --bookar-muted: #747474;
    --bookar-border: #e9e8e3;
    --bookar-bg: #f7f7f4;
}

/*
 * Arquivo isolado para a experiência de autenticação Bookar.
 * O design será construído aqui sem alterar o motor do LMSZAI.
 */

/* =========================================================
   BOOKAR LOGIN PREMIUM
   ========================================================= */

body {
    background: #f3f3ef;
}

.bk-auth-page {
    min-height: 100vh;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top right, rgba(255,200,0,.12), transparent 30%),
        #f3f3ef;
}

.bk-auth-shell {
    width: min(1480px, 100%);
    min-height: 760px;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0,0,0,.14);
}

.bk-auth-back {
    position: fixed;
    top: 22px;
    left: 24px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,.88);
    color: #191919 !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

/* LEFT */

.bk-auth-brand-panel {
    position: relative;
    padding: 42px 54px 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 78% 35%, rgba(255,200,0,.30), transparent 28%),
        linear-gradient(145deg, #151515 0%, #0f0f0f 65%, #171717 100%);
}

.bk-auth-brand-panel::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    top: 70px;
    right: -140px;
    background: #ffc800;
    opacity: .95;
}

.bk-auth-brand-panel::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    left: -90px;
    bottom: -110px;
    background: rgba(255,106,0,.75);
}

.bk-auth-brand-top,
.bk-auth-brand-content,
.bk-auth-brand-footer {
    position: relative;
    z-index: 2;
}

.bk-auth-brand-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bk-auth-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff !important;
    text-decoration: none !important;
}

.bk-auth-logo-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #ffc800;
    color: #111;
    font-size: 24px;
    font-weight: 900;
}

.bk-auth-logo > span:last-child,
.bk-auth-mobile-logo a > span:last-child {
    display: flex;
    flex-direction: column;
}

.bk-auth-logo strong,
.bk-auth-mobile-logo strong {
    font-size: 24px;
    line-height: 1;
    letter-spacing: -.03em;
}

.bk-auth-logo small,
.bk-auth-mobile-logo small {
    margin-top: 5px;
    font-size: 8px;
    letter-spacing: .15em;
    opacity: .72;
}

.bk-auth-country {
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: rgba(255,255,255,.08);
}

.bk-auth-brand-content {
    max-width: 580px;
    margin-top: 70px;
}

.bk-auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.bk-auth-eyebrow i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffc800;
}

.bk-auth-brand-content h1 {
    margin: 0;
    max-width: 560px;
    color: #fff;
    font-size: clamp(48px, 5vw, 76px);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.055em;
}

.bk-auth-brand-content h1 span {
    display: block;
    color: #ffc800;
}

.bk-auth-brand-content > p {
    max-width: 540px;
    margin: 28px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 16px;
    line-height: 1.7;
}

.bk-auth-benefits {
    display: grid;
    gap: 14px;
    margin-top: 34px;
}

.bk-auth-benefits > div {
    display: flex;
    align-items: center;
    gap: 13px;
}

.bk-auth-benefits > div > .iconify {
    width: 42px;
    height: 42px;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #ffc800;
}

.bk-auth-benefits strong {
    display: block;
    font-size: 13px;
    color: #fff;
}

.bk-auth-benefits small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: rgba(255,255,255,.55);
}

.bk-auth-brand-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 34px;
    color: rgba(255,255,255,.58);
    font-size: 11px;
}

.bk-auth-brand-footer strong {
    color: #fff;
}

/* RIGHT */

.bk-auth-form-panel {
    position: relative;
    padding: 48px 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.bk-auth-mobile-logo {
    display: none;
}

.bk-auth-form-wrap {
    width: min(520px, 100%);
}

.bk-auth-heading {
    margin-bottom: 34px;
}

.bk-auth-welcome {
    display: inline-block;
    margin-bottom: 9px;
    color: #a37c00;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .11em;
}

.bk-auth-heading h2 {
    margin: 0;
    color: #121212;
    font-size: 38px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.04em;
}

.bk-auth-heading p {
    margin: 10px 0 0;
    color: #777;
    font-size: 13px;
}

.bk-auth-heading p a {
    color: #b38700 !important;
    font-weight: 800;
    text-decoration: underline;
}

.bk-auth-field {
    margin-bottom: 22px;
}

.bk-auth-field label {
    display: block;
    margin-bottom: 9px;
    color: #242424;
    font-size: 12px;
    font-weight: 800;
}

.bk-auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.bk-auth-label-row a {
    color: #b38700 !important;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
}

.bk-auth-input {
    height: 56px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border: 1px solid #e7e6e1;
    border-radius: 14px;
    background: #fafaf8;
    transition: .2s ease;
}

.bk-auth-input:focus-within {
    border-color: #ffc800;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255,200,0,.12);
}

.bk-auth-input > .iconify {
    flex: 0 0 auto;
    color: #777;
    font-size: 19px;
}

.bk-auth-input input {
    flex: 1;
    min-width: 0;
    height: 52px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #171717;
    font-size: 13px;
}

.bk-auth-input input::placeholder {
    color: #a5a5a5;
}

.bk-auth-password-toggle {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #777;
}

.bk-auth-error {
    display: block;
    margin-top: 7px;
    color: #d83d3d;
    font-size: 11px;
}

.bk-auth-submit {
    width: 100%;
    height: 56px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 14px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    transition: .2s ease;
}

.bk-auth-submit:hover {
    transform: translateY(-1px);
    background: #262626;
    box-shadow: 0 12px 28px rgba(0,0,0,.14);
}

.bk-auth-divider {
    position: relative;
    margin: 28px 0 20px;
    text-align: center;
}

.bk-auth-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #ededeb;
}

.bk-auth-divider span {
    position: relative;
    z-index: 1;
    padding: 0 13px;
    background: #fff;
    color: #9b9b9b;
    font-size: 10px;
}

.bk-auth-socials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.bk-auth-socials a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #e7e6e1;
    border-radius: 12px;
    background: #fff;
    color: #222 !important;
    font-size: 11px;
    font-weight: 750;
    text-decoration: none !important;
}

.bk-auth-socials a:hover {
    background: #f8f8f5;
}

.bk-auth-security {
    margin-top: 28px;
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 13px;
    background: #fafaf8;
    color: #7b7b7b;
    font-size: 10px;
}

.bk-auth-security .iconify {
    color: #111;
    font-size: 20px;
}

/* TABLET */

@media (max-width: 1050px) {

    .bk-auth-page {
        padding: 0;
        background: #fff;
    }

    .bk-auth-shell {
        min-height: 100vh;
        grid-template-columns: 1fr;
        border-radius: 0;
        box-shadow: none;
    }

    .bk-auth-brand-panel {
        display: none;
    }

    .bk-auth-form-panel {
        min-height: 100vh;
        padding: 34px 26px 40px;
        align-items: flex-start;
    }

    .bk-auth-back {
        display: none;
    }

    .bk-auth-mobile-logo {
        display: block;
        width: 100%;
        margin-bottom: 52px;
    }

    .bk-auth-mobile-logo a {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: #111 !important;
        text-decoration: none !important;
    }

    .bk-auth-mobile-logo .bk-auth-logo-mark {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 19px;
    }

    .bk-auth-mobile-logo strong {
        font-size: 21px;
    }

    .bk-auth-mobile-logo small {
        color: #777;
        font-size: 7px;
    }

    .bk-auth-form-wrap {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }

}

/* MOBILE */

@media (max-width: 600px) {

    .bk-auth-form-panel {
        padding: 24px 18px 34px;
    }

    .bk-auth-mobile-logo {
        margin-bottom: 40px;
    }

    .bk-auth-heading {
        margin-bottom: 28px;
    }

    .bk-auth-heading h2 {
        font-size: 31px;
    }

    .bk-auth-heading p {
        font-size: 12px;
    }

    .bk-auth-input {
        height: 54px;
    }

    .bk-auth-submit {
        height: 54px;
    }

    .bk-auth-socials {
        grid-template-columns: 1fr;
    }

    .bk-auth-socials a {
        min-height: 50px;
    }

}


/* =========================================================
   BOOKAR AUTH MOBILE V2
   Corrige espaço lateral + botão voltar
   ========================================================= */

@media (max-width: 1050px) {

    .bk-auth-form-panel {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;

        width: 100% !important;
    }

    .bk-auth-mobile-logo {
        width: 100% !important;
        flex: 0 0 auto !important;
    }

    .bk-auth-form-wrap {
        width: 100% !important;
        max-width: 560px !important;

        flex: 0 0 auto !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* mostra o botão voltar também no mobile */
    .bk-auth-back {
        display: inline-flex !important;

        position: fixed !important;

        top: 18px !important;
        right: 18px !important;
        left: auto !important;

        z-index: 9999 !important;

        width: 42px !important;
        height: 42px !important;

        padding: 0 !important;

        align-items: center !important;
        justify-content: center !important;

        border: 1px solid #e8e8e3 !important;
        border-radius: 12px !important;

        background: rgba(255,255,255,.96) !important;

        box-shadow: 0 7px 22px rgba(0,0,0,.07) !important;
    }

    .bk-auth-back > span:last-child {
        display: none !important;
    }

    .bk-auth-back .iconify {
        width: 20px;
        height: 20px;

        color: #111;
    }

}


/* celular */
@media (max-width: 600px) {

    .bk-auth-form-panel {
        padding:
            24px
            18px
            34px !important;
    }

    .bk-auth-mobile-logo {
        margin-bottom: 28px !important;

        padding-right: 50px;
    }

    .bk-auth-heading {
        margin-bottom: 25px !important;
    }

    .bk-auth-signup-page .bk-auth-heading {
        margin-bottom: 22px !important;
    }

}


/* =========================================================
   BOOKAR AUTH - COOKIE OFF
   Login e cadastro devem focar apenas na autenticacao
   ========================================================= */

body.bk-auth-body .cookie-consent,
body.bk-auth-body .js-cookie-consent {
    display: none !important;
}


/* =========================================================
   BOOKAR SIGN UP
   ========================================================= */

.bk-auth-signup-shell {
    min-height: 820px;
}

.bk-auth-signup-panel {
    padding-top: 38px;
    padding-bottom: 38px;
}

.bk-auth-signup-wrap {
    width: min(560px, 100%);
}

.bk-auth-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bk-auth-input select {
    flex: 1;
    min-width: 0;
    height: 52px;

    padding: 0 !important;

    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;

    background: transparent !important;
    color: #171717;

    font-size: 12px;
}

.bk-auth-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin: 3px 0 20px;

    color: #696969;

    font-size: 10px;
    line-height: 1.55;
}

.bk-auth-consent input {
    width: 16px;
    height: 16px;

    flex: 0 0 16px;

    margin-top: 2px;

    accent-color: #ffc800;
}

.bk-auth-consent a {
    color: #a37c00 !important;
    font-weight: 750;
    text-decoration: underline;
}

@media (max-width: 600px) {

    .bk-auth-signup-panel {
        padding-top: 24px;
        padding-bottom: 34px;
    }

    .bk-auth-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .bk-auth-signup-wrap {
        max-width: 100%;
    }

}

