@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* =========================================
   TANA REDE - DESIGN SYSTEM (SÉRIE A)
   ========================================= */
:root {
    /* ADICIONE ESTA LINHA: Proíbe o celular de inverter as cores */
    color-scheme: light; 

    /* O Fundo "Off-White" - Descansa os olhos e destaca os cartões brancos */
    --bg-app: #F4F7F9; 
    --bg-card: #FFFFFF;
    
    /* Azul Meia-Noite (Substitui o preto barato por um tom premium) */
    --texto-titulo: #0F172A; 
    --texto-corpo: #64748B;
    
    /* O Verde Fintech (Esmeralda) */
    --brand-main: #10B981;
    --brand-dark: #059669;
    --brand-glow: rgba(16, 185, 129, 0.25);
    
    /* Cores de Apoio */
    --perigo: #EF4444;
    --alerta: #F59E0B;
    --border-soft: #E2E8F0;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    background-color: var(--bg-app);
    /* Desativa aquele "pulo" chato quando rola a tela no celular */
    overscroll-behavior-y: none; 
}

body {
    /* Plus Jakarta Sans é a fonte queridinha das startups hoje. Muito mais limpa. */
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-app) !important;
    color: var(--texto-titulo);
    margin: 0;
    padding: 20px 15px; /* Respiro perfeito para celular */
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Limpeza de fundos velhos injetados */
body[style] { background: var(--bg-app) !important; }

h1, h2, h3, h4, h5 { font-weight: 800; color: var(--texto-titulo); margin-top: 0; letter-spacing: -0.5px; }

/* =========================================
   CABECALHO PREMIUM
   ========================================= */
.header-premium {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 35px; padding: 0 5px;
}
.logo-container { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 48px; object-fit: contain; margin-right: 12px; }
.logo-text { color: var(--texto-titulo); font-weight: 900; font-size: 1.35rem; line-height: 1; letter-spacing: -0.5px; display: flex; flex-direction: column; }
.logo-text span { color: var(--brand-main); font-size: 0.5em; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 2px; }

/* Botão de Área do Dono (Minimalista no topo) */
.btn-header {
    display: flex; align-items: center; gap: 6px;
    background: var(--bg-card); color: var(--texto-titulo);
    font-size: 0.8rem; font-weight: 700; text-decoration: none;
    padding: 8px 14px; border-radius: 20px; border: 1px solid var(--border-soft);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03); transition: all 0.2s;
}
.btn-header:active { transform: scale(0.96); background: #F8FAFC; }

/* =========================================
   O CARD FLUTUANTE (A Mágica do Soft UI)
   ========================================= */
.card-premium {
    background-color: var(--bg-card);
    border-radius: 24px;
    border: 1px solid #FFFFFF; /* Borda branca pura para dar luz */
    padding: 24px;
    margin-bottom: 20px;
    /* Essa é a sombra de milhões: grande, difusa e muito sutil */
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.05), 0 0 10px rgba(15, 23, 42, 0.02);
    position: relative; overflow: hidden;
}
/* Detalhe de luxo: Uma linha colorida no topo do cartão */
.card-premium::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--brand-main), var(--brand-dark));
}

.card-premium p { color: var(--texto-corpo); font-size: 0.95rem; line-height: 1.6; }

/* =========================================
   BOTÕES (A Psicologia do Clique)
   ========================================= */
/* Primário: Para ações que geram valor (Ver horários, Pagar) */
.btn-primary {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
    background: linear-gradient(135deg, var(--brand-main) 0%, var(--brand-dark) 100%);
    color: #FFFFFF !important;
    font-weight: 700; font-size: 15px;
    padding: 16px; border-radius: 16px;
    text-decoration: none; border: none; cursor: pointer;
    box-shadow: 0 8px 20px var(--brand-glow);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary:active { transform: scale(0.97); box-shadow: 0 4px 10px var(--brand-glow); }

/* Secundário: Para ações de apoio (Voltar, Regras) */
.btn-secondary {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
    background-color: var(--bg-card);
    color: var(--texto-titulo) !important;
    font-weight: 700; font-size: 15px;
    padding: 16px; border-radius: 16px;
    text-decoration: none; border: 1.5px solid var(--border-soft); cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-secondary:active { transform: scale(0.97); background-color: #F8FAFC; }

/* Ícones padrão */
.icon { stroke-width: 2.5px; width: 18px; height: 18px; }

/* =========================================
   RESPONSIVIDADE (Desktop/Tablet)
   ========================================= */
.container { max-width: 600px; margin: 0 auto; }
@media (min-width: 768px) {
    body { padding: 40px; }
    .card-premium { padding: 32px; border-radius: 32px; margin-bottom: 24px; }
}