/* =========================================================
   PULSE | GAN7 - AUTH V7
   ========================================================= */

body.gan7-auth-page {
    --gan7-orange: #f47721;
    --gan7-orange-light: #ff9a4a;
    --gan7-dark: #242424;
    --gan7-gray: #686868;
}

/* =========================================================
   PAINEL PRINCIPAL
   ========================================================= */

.gan7-auth-shell {
    width: calc(100% - 56px) !important;
    max-width: 1080px !important;
    min-height: 520px !important;

    margin: 34px auto !important;

    display: grid !important;
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(355px, .9fr) !important;

    overflow: hidden !important;

    border-radius: 28px !important;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.97),
            rgba(255,255,255,.91)
        ) !important;

    border:
        1px solid rgba(244,119,33,.18) !important;

    box-shadow:
        0 28px 80px rgba(28,28,28,.10) !important;

    backdrop-filter: blur(16px);
}

.gan7-auth-left-branch,
.gan7-auth-right-branch {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
}

/* =========================================================
   LADO ESQUERDO
   ========================================================= */

.gan7-auth-left-branch {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 38px 42px 30px !important;
}

.gan7-auth-left-root {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}

.gan7-auth-left-root > :not(.gan7-custom-left) {
    display: none !important;
}

.gan7-custom-left {
    width: 100%;
    max-width: 520px;
}

/* =========================================================
   CABEÇALHO DA IDENTIDADE
   ========================================================= */

.gan7-brand-header {
    display: grid;
    grid-template-columns: 112px 1fr;
    align-items: center;

    gap: 22px;

    margin-bottom: 25px;
}

.gan7-custom-logo {
    display: block;

    width: 108px;
    height: auto;

    margin: 0;
}

.gan7-brand-copy {
    min-width: 0;
}

.gan7-custom-kicker {
    display: inline-flex;
    align-items: center;

    margin-bottom: 8px;
    padding: 5px 10px;

    border-radius: 999px;

    background: rgba(244,119,33,.11);

    color: #d85d0b;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .045em;
}

.gan7-custom-title {
    margin: 0;

    color: var(--gan7-dark);

    font-size: 30px;
    line-height: 1.14;
    font-weight: 650;
    letter-spacing: -.026em;
}

.gan7-custom-subtitle {
    margin: 7px 0 0;

    color: var(--gan7-gray);

    font-size: 14px;
    line-height: 1.5;
}

/* =========================================================
   BENEFÍCIOS
   ========================================================= */

.gan7-feature-list {
    display: flex;
    flex-direction: column;

    gap: 9px;
}

.gan7-feature {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;

    gap: 12px;

    padding: 10px 12px;

    border-radius: 14px;

    background: rgba(255,255,255,.72);

    border:
        1px solid rgba(0,0,0,.052);
}

.gan7-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            var(--gan7-orange),
            var(--gan7-orange-light)
        );

    color: #fff;

    font-size: 17px;
    font-weight: 700;
}

.gan7-feature-title {
    color: var(--gan7-dark);

    font-size: 13px;
    font-weight: 650;
}

.gan7-feature-text {
    margin-top: 1px;

    color: #777;

    font-size: 11px;
    line-height: 1.4;
}

/* =========================================================
   RODAPÉ
   ========================================================= */

.gan7-custom-footer {
    margin-top: 20px;
    padding-top: 14px;

    border-top:
        1px solid rgba(0,0,0,.055);

    color: #999;

    font-size: 10px;
    letter-spacing: .01em;
}

/* =========================================================
   LADO DIREITO - LOGIN
   ========================================================= */

.gan7-auth-right-branch {
    position: relative;

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

    padding: 42px 46px !important;

    border-left:
        1px solid rgba(244,119,33,.13);

    background:
        linear-gradient(
            180deg,
            rgba(255,248,244,.52),
            rgba(255,255,255,.40)
        );
}

.gan7-auth-right-branch::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(244,119,33,.09),
            transparent 42%
        );
}

.gan7-auth-form-card {
    position: relative;
    z-index: 1;

    width: 100% !important;
    max-width: 390px !important;

    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.gan7-auth-right-branch h1,
.gan7-auth-right-branch h2,
.gan7-auth-right-branch h3 {
    color: var(--gan7-dark) !important;
}

.gan7-login-subtitle {
    max-width: 330px;

    margin: -3px 0 24px;

    color: #777;

    font-size: 13px;
    line-height: 1.5;
}

/* campos */
.gan7-auth-right-branch input {
    min-height: 44px;

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

    transition:
        border-color .18s ease,
        box-shadow .18s ease !important;
}

.gan7-auth-right-branch input:focus {
    outline: none !important;

    border-color:
        rgba(244,119,33,.72) !important;

    box-shadow:
        0 0 0 3px
        rgba(244,119,33,.10) !important;
}

/* botão */
.gan7-auth-right-branch button[type="submit"],
.gan7-auth-right-branch form button {
    min-height: 42px;

    background:
        linear-gradient(
            135deg,
            var(--gan7-orange),
            var(--gan7-orange-light)
        ) !important;

    border-color: transparent !important;

    color: #fff !important;

    box-shadow:
        0 9px 24px
        rgba(244,119,33,.23) !important;

    transition:
        transform .15s ease,
        box-shadow .15s ease !important;
}

.gan7-auth-right-branch button[type="submit"]:hover,
.gan7-auth-right-branch form button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 12px 28px
        rgba(244,119,33,.29) !important;
}

.gan7-auth-right-branch a {
    color:
        var(--gan7-orange) !important;
}

.gan7-hide-public-signup {
    display: none !important;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .gan7-auth-shell {
        grid-template-columns: 1fr !important;

        max-width: 700px !important;
    }

    .gan7-auth-right-branch {
        border-left: none;

        border-top:
            1px solid rgba(244,119,33,.12);

        padding:
            34px 38px !important;
    }

    .gan7-auth-left-branch {
        padding:
            34px 38px 28px !important;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {

    .gan7-auth-shell {
        width:
            calc(100% - 22px) !important;

        margin:
            11px auto !important;

        min-height: auto !important;

        border-radius:
            20px !important;
    }

    .gan7-auth-left-branch {
        padding:
            25px 22px 20px !important;
    }

    .gan7-auth-right-branch {
        padding:
            25px 22px 30px !important;
    }

    .gan7-brand-header {
        grid-template-columns:
            82px 1fr;

        gap: 15px;

        margin-bottom: 4px;
    }

    .gan7-custom-logo {
        width: 78px;
    }

    .gan7-custom-title {
        font-size: 23px;
    }

    .gan7-custom-subtitle {
        font-size: 12px;
    }

    /* no celular mostramos só identidade */
    .gan7-feature-list {
        display: none !important;
    }

    .gan7-custom-footer {
        margin-top: 14px;
    }
}

/* =========================================================
   LIMPEZA - CONVITES COMERCIAIS DO NOVU CLOUD
   (ver pulse-limpeza.js)
   ========================================================= */

[data-gan7-oculto],
a[href*="cal.com/team/novu"],
a[href^="https://github.com/novuhq/novu"] {
    display: none !important;
}

/* configuração inicial: "Have questions? Book a demo" */
div:has(> a[href*="cal.com/team/novu"]) {
    display: none !important;
}

/* =========================================================
   PERFIL OPERADOR (ver pulse-operador.js)
   ========================================================= */

/* desenho do fluxo só para leitura: o operador não edita etapas */
body.gan7-operador .react-flow {
    pointer-events: none !important;
}

/* menus "..." das linhas (duplicar, pausar, excluir) */
body.gan7-operador tbody td button[aria-haspopup="menu"] {
    display: none !important;
}

/* =========================================================
   LOGO DA ORGANIZAÇÃO (ver pulse-limpeza.js)
   Mostra só o símbolo "G" da logo GAN7 no círculo de 24px.
   ========================================================= */

.gan7-org-logo {
    display: block;

    width: 24px;
    height: 24px;

    overflow: hidden;

    border-radius: 9999px;

    background: #fff;
}

.gan7-org-logo img {
    display: block;

    width: 28px;
    max-width: none;
    height: auto;

    margin-left: -2px;
}
