/* Estilo PÚBLICO só da tela de login (gerado por _ferramentas/gerar-login-css.py).
   O visual completo do app (app.css) só é entregue para quem está logada. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Bebas+Neue&display=swap');
:root{ --orange-50: #fff1f6; --orange-100: #ffe0eb; --orange-200: #ffc7d8; --orange-300: #f8b4c8; --orange-400: #ee8cad; --orange-500: #d84f7a; --orange-600: #b93661; --ink-900: #0a0a0a; --ink-800: #1a1a1a; --ink-700: #2d2d2d; --ink-500: #6b6b6b; --ink-400: #9a9a9a; --ink-300: #c5c5c5; --ink-200: #e8e8e8; --ink-100: #f5f5f5; --bg: #fafafa; --green-ok: #4caf85; --red-warn: #d44d4d; --card-shadow: 0 4px 20px -8px rgba(10, 10, 10, 0.12); --safe-bottom: env(safe-area-inset-bottom, 0); --safe-top: env(safe-area-inset-top, 0); --topbar-h: 64px; --tabbar-h: 84px; }
*{ box-sizing: border-box; margin: 0; padding: 0; }
html, body{ font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--ink-900); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button{ font-family: inherit; cursor: pointer; border: none; background: none; }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
.login-body{ background: linear-gradient(180deg, var(--orange-50) 0%, #fff 50%, var(--orange-50) 100%); min-height: 100dvh; display: flex; flex-direction: column; position: relative; overflow-x: hidden; }
.login-blob{ position: absolute; top: -100px; right: -120px; width: 320px; height: 320px; background: radial-gradient(circle, var(--orange-300) 0%, transparent 70%); filter: blur(60px); opacity: .4; pointer-events: none; }
.login-blob-2{ position: absolute; bottom: -100px; left: -120px; width: 280px; height: 280px; background: radial-gradient(circle, var(--orange-200) 0%, transparent 70%); filter: blur(60px); opacity: .3; pointer-events: none; }
.login-wrap{ flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: calc(28px + var(--safe-top)) 24px calc(40px + var(--safe-bottom)); max-width: 460px; margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.install-btn-login{ background: var(--ink-900); color: #fff; font-weight: 600; padding: 12px 22px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 30px; box-shadow: 0 4px 14px rgba(0,0,0,.15); transition: transform .2s; }
.install-btn-login:active{ transform: scale(.96); }
.login-logo-wrap{ display: flex; align-items: center; justify-content: center; margin: 30px 0 40px; }
.login-logo-wrap img{ max-width: 240px; height: auto; }
.login-card{ background: #fff; border-radius: 20px; padding: 32px 26px 28px; width: 100%; box-shadow: 0 10px 40px -15px rgba(0,0,0,.12); border: 1px solid var(--ink-200); }
.login-card h1{ font-size: 26px; font-weight: 700; text-align: center; margin-bottom: 4px; }
.login-sub{ text-align: center; color: var(--ink-500); font-size: 14px; margin-bottom: 22px; }
.field{ display: block; margin-bottom: 16px; }
.field-label{ display: block; font-size: 13px; font-weight: 500; color: var(--ink-700); margin-bottom: 6px; }
.field-input{ display: flex; align-items: center; background: #f6f6f8; border: 1.5px solid #ececec; border-radius: 12px; padding: 0 14px; transition: border-color .2s, background .2s; }
.field-input:focus-within{ border-color: var(--orange-400); background: #fff; }
.field-input svg{ color: var(--ink-500); flex-shrink: 0; margin-right: 10px; }
.field-input input{ flex: 1; padding: 13px 0; background: none; border: none; outline: none; font-size: 16px; }
.btn-primary{ width: 100%; background: var(--ink-900); color: #fff; font-weight: 700; font-size: 16px; min-height: 48px; padding: 14px 18px; border-radius: 14px; margin-top: 6px; display: inline-flex; align-items: center; justify-content: center; transition: transform .15s, box-shadow .2s; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.btn-primary:active{ transform: scale(.98); }
.btn-primary:hover{ background: var(--ink-700); }
.btn-orange{ background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%) !important; color: #ffffff !important; box-shadow: 0 6px 18px rgba(216, 79, 122, .32) !important; }
.btn-orange:hover{ filter: brightness(1.05); }
.ios-install-modal-overlay{ position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; padding: 0; animation: fadeIn .25s ease; }
.ios-install-sheet{ background: #fff; width: 100%; max-width: 480px; border-radius: 28px 28px 0 0; padding: 16px 20px calc(24px + var(--safe-bottom)); box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25); animation: slideUp .3s cubic-bezier(0.16, 1, 0.3, 1); }
.ios-sheet-handle{ width: 38px; height: 5px; border-radius: 3px; background: var(--ink-300); margin: 0 auto 16px; }
.ios-sheet-header{ display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.ios-app-icon-preview img{ border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.ios-sheet-header h3{ font-size: 18px; font-weight: 800; color: var(--ink-900); }
.ios-sheet-header p{ font-size: 13px; color: var(--ink-500); margin-top: 2px; line-height: 1.35; }
.ios-steps{ display: flex; flex-direction: column; gap: 14px; background: var(--orange-50); border-radius: 18px; padding: 16px; border: 1px solid rgba(216, 79, 122, 0.12); }
.ios-step{ display: flex; gap: 12px; align-items: flex-start; }
.ios-step-num{ width: 24px; height: 24px; border-radius: 50%; background: var(--orange-500); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.ios-step-text{ font-size: 14px; line-height: 1.45; color: var(--ink-800); }
.ios-step-icon{ display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--ink-500); }
@media (min-width: 720px){body{ background: #1a1a1a; }}
.login-suporte{ display: block; text-align: center; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--orange-600); text-decoration: underline; }
@keyframes slideUp{ from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes fadeIn{ from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeIn{ from { opacity: 0; } to { opacity: 1; } }
.login-suporte[hidden]{display:none !important}
