/* Companions iOS: Fluxo Food, Fluxo Escola, Fluxo Eventos */
html.fluxo-food-app,
html.fluxo-escola-app,
html.fluxo-eventos-app {
    --flux-radius-xs: 10px;
    --flux-radius-sm: 14px;
    --flux-radius-md: 18px;
    --flux-radius-lg: 22px;
    --seg-bg: #ececec;
}
html.fluxo-food-app {
    --flux-brand: var(--food-ui-action,#E11D48);
    --flux-brand-hover: var(--food-ui-hover,#BE123C);
    --flux-brand-muted: var(--food-ui-surface,#fff1f2);
    --seg-login-bg: var(--food-ui-surface,#f7f1f2);
    --seg-glow-a: color-mix(in srgb, var(--food-ui-action,rgb(225 29 72)) 20.000%, transparent);
    --seg-glow-b: color-mix(in srgb, var(--food-ui-action,rgb(190 18 60)) 14.000%, transparent);
}
html.fluxo-escola-app {
    --flux-brand: #2563EB;
    --flux-brand-hover: #1D4ED8;
    --flux-brand-muted: #eff6ff;
    --seg-login-bg: #f1f5fb;
    --seg-glow-a: rgba(37, 99, 235, 0.20);
    --seg-glow-b: rgba(29, 78, 216, 0.14);
}
html.fluxo-eventos-app {
    --flux-brand: #C026D3;
    --flux-brand-hover: #A21CAF;
    --flux-brand-muted: #fdf4ff;
    --seg-login-bg: #f7f1fb;
    --seg-glow-a: rgba(192, 38, 211, 0.20);
    --seg-glow-b: rgba(162, 28, 175, 0.14);
}

html.fluxo-food-app,
html.fluxo-food-app body,
html.fluxo-escola-app,
html.fluxo-escola-app body,
html.fluxo-eventos-app,
html.fluxo-eventos-app body {
    background: var(--seg-bg) !important;
}

html.fluxo-food-app #login-screen,
html.fluxo-escola-app #login-screen,
html.fluxo-eventos-app #login-screen {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    touch-action: none;
    background-color: var(--seg-login-bg) !important;
    background-image:
        linear-gradient(rgba(20, 24, 40, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 24, 40, 0.04) 1px, transparent 1px),
        radial-gradient(ellipse 100% 72% at 0% 0%, var(--seg-glow-a), transparent 58%),
        radial-gradient(ellipse 90% 62% at 100% 100%, var(--seg-glow-b), transparent 55%) !important;
    background-size: 44px 44px, 44px 44px, auto, auto !important;
}
html.fluxo-food-app #login-screen > .flex,
html.fluxo-escola-app #login-screen > .flex,
html.fluxo-eventos-app #login-screen > .flex {
    position: relative;
    z-index: 2;
    background: transparent !important;
}
html.fluxo-food-app #login-card,
html.fluxo-escola-app #login-card,
html.fluxo-eventos-app #login-card {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.10) !important;
    border-radius: 28px !important;
}
html.fluxo-food-app #auth-logo-default,
html.fluxo-food-app #auth-logo-garage,
html.fluxo-food-app #auth-logo-barber,
html.fluxo-food-app #auth-logo-clinicas,
html.fluxo-escola-app #auth-logo-default,
html.fluxo-escola-app #auth-logo-garage,
html.fluxo-escola-app #auth-logo-barber,
html.fluxo-escola-app #auth-logo-clinicas,
html.fluxo-eventos-app #auth-logo-default,
html.fluxo-eventos-app #auth-logo-garage,
html.fluxo-eventos-app #auth-logo-barber,
html.fluxo-eventos-app #auth-logo-clinicas {
    display: none !important;
}
html.fluxo-food-app #auth-logo-food,
html.fluxo-food-app #auth-logo-food[hidden],
html.fluxo-escola-app #auth-logo-escola,
html.fluxo-escola-app #auth-logo-escola[hidden],
html.fluxo-eventos-app #auth-logo-eventos,
html.fluxo-eventos-app #auth-logo-eventos[hidden] {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    margin: 0 auto .15rem;
}
.seg-login-brand__badge {
    display: grid;
    place-items: center;
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto .35rem;
}
.seg-login-brand__mark-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
html.fluxo-food-app #auth-title,
html.fluxo-food-app #auth-subtitle,
html.fluxo-escola-app #auth-title,
html.fluxo-escola-app #auth-subtitle,
html.fluxo-eventos-app #auth-title,
html.fluxo-eventos-app #auth-subtitle {
    display: none !important;
}
html.fluxo-food-app.food-auth-forgot #auth-title,
html.fluxo-escola-app.escola-auth-forgot #auth-title,
html.fluxo-eventos-app.eventos-auth-forgot #auth-title {
    display: block !important;
    color: #0f172a !important;
}

html.fluxo-food-app.publy-ios-app #app-sidebar,
html.fluxo-food-app.publy-ios-app .mobile-sidebar-backdrop,
html.fluxo-escola-app.publy-ios-app #app-sidebar,
html.fluxo-escola-app.publy-ios-app .mobile-sidebar-backdrop,
html.fluxo-eventos-app.publy-ios-app #app-sidebar,
html.fluxo-eventos-app.publy-ios-app .mobile-sidebar-backdrop {
    display: none !important;
    width: 0 !important;
}
html.fluxo-food-app.publy-ios-app #app-main-column,
html.fluxo-escola-app.publy-ios-app #app-main-column,
html.fluxo-eventos-app.publy-ios-app #app-main-column {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.seg-flat-sync {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ececec;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.seg-flat-sync.is-on {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.seg-flat-sync img {
    width: 88px;
    height: 88px;
    object-fit: contain;
}

html.fluxo-food-app #mobile-bottom-nav,
html.fluxo-escola-app #mobile-bottom-nav,
html.fluxo-eventos-app #mobile-bottom-nav {
    position: relative;
    display: flex !important;
    align-items: stretch;
    justify-content: space-around;
    background: #fff !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-bottom: env(safe-area-inset-bottom);
}
html.fluxo-food-app .seg-nav-pill,
html.fluxo-escola-app .seg-nav-pill,
html.fluxo-eventos-app .seg-nav-pill {
    position: absolute;
    top: 6px;
    left: 0;
    height: calc(100% - 12px - env(safe-area-inset-bottom));
    border-radius: 16px;
    background: var(--flux-brand-muted);
    pointer-events: none;
    opacity: 0;
    z-index: 0;
}
html.fluxo-food-app .seg-nav-pill.is-ready,
html.fluxo-escola-app .seg-nav-pill.is-ready,
html.fluxo-eventos-app .seg-nav-pill.is-ready {
    opacity: 1;
    transition: transform .28s ease, width .28s ease;
}
html.fluxo-food-app .mobile-bottom-nav-btn,
html.fluxo-escola-app .mobile-bottom-nav-btn,
html.fluxo-eventos-app .mobile-bottom-nav-btn {
    position: relative;
    z-index: 1;
    color: #64748b;
    background: transparent !important;
}
html.fluxo-food-app .mobile-bottom-nav-btn.active,
html.fluxo-escola-app .mobile-bottom-nav-btn.active,
html.fluxo-eventos-app .mobile-bottom-nav-btn.active {
    color: var(--flux-brand) !important;
}

html.fluxo-food-app #btn-login,
html.fluxo-escola-app #btn-login,
html.fluxo-eventos-app #btn-login {
    background: var(--flux-brand) !important;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--flux-brand) 28%, transparent) !important;
}
html.fluxo-food-app #btn-login:hover,
html.fluxo-escola-app #btn-login:hover,
html.fluxo-eventos-app #btn-login:hover {
    background: var(--flux-brand-hover) !important;
}

html.fluxo-food-app #login-card input:not([type="checkbox"]):not([type="radio"]),
html.fluxo-escola-app #login-card input:not([type="checkbox"]):not([type="radio"]),
html.fluxo-eventos-app #login-card input:not([type="checkbox"]):not([type="radio"]) {
    background: #f4f4f5 !important;
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
    caret-color: var(--flux-brand);
    border-color: rgba(15, 23, 42, 0.08) !important;
    font-size: 16px !important;
}
html.fluxo-food-app #login-card input:not([type="checkbox"]):not([type="radio"]):focus,
html.fluxo-escola-app #login-card input:not([type="checkbox"]):not([type="radio"]):focus,
html.fluxo-eventos-app #login-card input:not([type="checkbox"]):not([type="radio"]):focus {
    background: #fff !important;
    border-color: color-mix(in srgb, var(--flux-brand) 55%, transparent) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--flux-brand) 14%, transparent) !important;
}
html.fluxo-food-app #login-card input:-webkit-autofill,
html.fluxo-food-app #login-card input:-webkit-autofill:hover,
html.fluxo-food-app #login-card input:-webkit-autofill:focus,
html.fluxo-escola-app #login-card input:-webkit-autofill,
html.fluxo-escola-app #login-card input:-webkit-autofill:hover,
html.fluxo-escola-app #login-card input:-webkit-autofill:focus,
html.fluxo-eventos-app #login-card input:-webkit-autofill,
html.fluxo-eventos-app #login-card input:-webkit-autofill:hover,
html.fluxo-eventos-app #login-card input:-webkit-autofill:focus {
    -webkit-text-fill-color: #111827 !important;
    caret-color: var(--flux-brand);
    box-shadow: 0 0 0 1000px #f4f4f5 inset !important;
    transition: background-color 99999s ease-in-out 0s;
}
html.fluxo-food-app #login-card input::placeholder,
html.fluxo-escola-app #login-card input::placeholder,
html.fluxo-eventos-app #login-card input::placeholder {
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
}
html.fluxo-food-app #login-email-label,
html.fluxo-escola-app #login-email-label,
html.fluxo-eventos-app #login-email-label,
html.fluxo-food-app #login-card label,
html.fluxo-escola-app #login-card label,
html.fluxo-eventos-app #login-card label,
html.fluxo-food-app #login-card .text-zinc-400,
html.fluxo-escola-app #login-card .text-zinc-400,
html.fluxo-eventos-app #login-card .text-zinc-400,
html.fluxo-food-app #login-card .remember-me-toggle__text,
html.fluxo-escola-app #login-card .remember-me-toggle__text,
html.fluxo-eventos-app #login-card .remember-me-toggle__text {
    color: #64748b !important;
}
html.fluxo-food-app #login-card .pw-eye-toggle,
html.fluxo-escola-app #login-card .pw-eye-toggle,
html.fluxo-eventos-app #login-card .pw-eye-toggle {
    color: #94a3b8 !important;
}
html.fluxo-food-app #login-card .pw-eye-toggle:hover,
html.fluxo-escola-app #login-card .pw-eye-toggle:hover,
html.fluxo-eventos-app #login-card .pw-eye-toggle:hover {
    color: #475569 !important;
    background: rgba(15, 23, 42, 0.04) !important;
}
html.fluxo-food-app #login-card button[onclick*="mostrarAuthTab('forgot')"],
html.fluxo-escola-app #login-card button[onclick*="mostrarAuthTab('forgot')"],
html.fluxo-eventos-app #login-card button[onclick*="mostrarAuthTab('forgot')"],
html.fluxo-food-app #auth-footer-links,
html.fluxo-food-app #auth-footer-links button,
html.fluxo-escola-app #auth-footer-links,
html.fluxo-escola-app #auth-footer-links button,
html.fluxo-eventos-app #auth-footer-links,
html.fluxo-eventos-app #auth-footer-links button {
    color: var(--flux-brand) !important;
}

html.fluxo-food-app.food-session-pending #login-screen,
html.fluxo-escola-app.escola-session-pending #login-screen,
html.fluxo-eventos-app.eventos-session-pending #login-screen,
html.fluxo-food-app.food-session-pending #mobile-bottom-nav,
html.fluxo-escola-app.escola-session-pending #mobile-bottom-nav,
html.fluxo-eventos-app.eventos-session-pending #mobile-bottom-nav {
    display: none !important;
}

.fluxo-food-login-badge,
.fluxo-escola-login-badge,
.fluxo-eventos-login-badge {
    display: none;
}

html.fluxo-food-app #garage-auth-rotator,
html.fluxo-escola-app #garage-auth-rotator,
html.fluxo-eventos-app #garage-auth-rotator,
html.fluxo-food-app .fluxo-garage-login-badge,
html.fluxo-escola-app .fluxo-garage-login-badge,
html.fluxo-eventos-app .fluxo-garage-login-badge,
html:not(.fluxo-garage-app):not(.fluxo-barber-app):not(.fluxo-clinicas-app) #garage-auth-rotator,
html:not(.fluxo-garage-app) .fluxo-garage-login-badge {
    display: none !important;
}
