html, body {
    font-family: 'Roboto', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

#blazor-error-ui {
    color-scheme: light only;
    background: #ffefef;
    border-top: 1px solid #f3c0c0;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.75rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1100;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem 1rem 1rem 1rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "Ocorreu um erro.";
}

/* ===================== Landing ===================== */
.hero {
    background: radial-gradient(1200px 500px at 80% -10%, #19d98c33, transparent),
                linear-gradient(135deg, #0b1e4d 0%, #0d6efd 60%, #134bd1 100%);
    color: #fff;
    padding: 96px 24px 110px;
}
.hero-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.hero-title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.08; margin: 0 0 18px; }
.hero-sub { font-size: 1.12rem; line-height: 1.6; opacity: .92; max-width: 680px; margin: 0 auto 30px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: .85rem; opacity: .8; }

.feature-card {
    height: 100%;
    border: 1px solid #e7ecf3 !important;
    border-radius: 14px !important;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(20,30,60,.10); }

.cta { background: #0b1e4d; padding: 56px 24px; }

.footer { border-top: 1px solid #e7ecf3; background: #fff; color: #5a6678; font-size: .85rem; }

/* ===================== Login ===================== */
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0b1e4d 0%, #0d6efd 100%);
    padding: 24px;
}
.login-label { display:block; font-size:.82rem; font-weight:600; color:#495057; margin-bottom:4px; }
.login-input {
    width:100%; padding:10px 12px; font-size:.95rem; border:1px solid #ced4da;
    border-radius:8px; outline:none; box-sizing:border-box; font-family:inherit;
}
.login-input:focus { border-color:#0d6efd; box-shadow:0 0 0 .15rem rgba(13,110,253,.2); }
.login-btn {
    width:100%; padding:11px; border:none; border-radius:8px; background:#0d6efd; color:#fff;
    font-size:1rem; font-weight:600; cursor:pointer; font-family:inherit;
}
.login-btn:hover { background:#0a58ca; }
.validation-message { color:#dc3545; font-size:.8rem; }

/* ===================== Vitrine pública ===================== */
.store { max-width: 460px; margin: 0 auto; padding: 16px; }
.store-top { display:flex; align-items:center; gap:12px; background:#fff; border-radius:14px; padding:14px 16px; margin-bottom:18px; box-shadow:0 1px 8px rgba(0,0,0,.06); }
.store-logo { width:42px; height:42px; border-radius:10px; background:linear-gradient(135deg,#0b1e4d,#0d6efd 55%,#19d98c); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; }
.pcard { background:#fff; border-radius:16px; overflow:hidden; margin-bottom:18px; box-shadow:0 1px 2px -1px rgba(0,0,0,.2),0 2px 3px rgba(0,0,0,.14),0 1px 10px rgba(0,0,0,.12); }
.pposter { height:180px; background:linear-gradient(120deg,#0b1e4d,#0d6efd 55%,#19d98c); color:#fff; display:flex; flex-direction:column; justify-content:flex-end; padding:16px; }
.pposter .k { font-size:.66rem; font-weight:700; letter-spacing:.12em; opacity:.9; }
.pposter .t1 { font-size:2rem; font-weight:800; line-height:1; }
.pposter .t2 { font-size:2rem; font-weight:800; line-height:1; color:#7CFFB2; }
.phead { display:flex; gap:16px; padding:16px; align-items:flex-start; }
.pcal { min-width:90px; text-align:center; border-radius:8px; overflow:hidden; box-shadow:0 1px 6px rgba(0,0,0,.15); }
.pcal .m { background:#0d6efd; color:#fff; font-size:.7rem; font-weight:700; text-transform:uppercase; padding:4px 0; }
.pcal .d { font-size:1.7rem; font-weight:800; padding-top:4px; }
.pcal .w, .pcal .h { font-size:.78rem; color:#6c757d; }
.pcal .h { font-weight:600; padding-bottom:6px; }
.ptabs { display:flex; border-top:1px solid #e9ecef; background:#f9f9f9; }
.ptabs a { flex:1; text-align:center; padding:12px 0; font-size:.88rem; color:#0d6efd; text-decoration:none; }
.ptabs a.on, .ptabs a:hover { background:#e9ecef; font-weight:600; }
.pdetails { padding:16px; border-top:1px solid #e9ecef; background:#f9f9f9; font-size:.86rem; }
.pnote { background:#fff3cd; border:1px solid #ffeeba; color:#856404; border-radius:6px; padding:8px 12px; font-size:.8rem; margin:8px 0; }
.pgrid { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin:10px 0 18px; }
.pspace { width:76px; height:72px; border-radius:8px; color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; font-weight:600; cursor:pointer; line-height:1.15; box-shadow:0 2px 4px rgba(0,0,0,.12); }
.pspace .c { font-size:1.15rem; } .pspace .p { font-size:.66rem; font-weight:500; } .pspace .s { font-size:.6rem; font-weight:700; }
.pspace.livre { background:#28a745; } .pspace.pendente { background:#ffc107; color:#212529; }
.pspace.reservado { background:#dc3545; } .pspace.ocupado { background:#0d6efd; }
.plist { border:1px solid #e9ecef; border-radius:8px; background:#fff; padding:14px; margin-bottom:12px; }
.dot-legend { display:inline-block; width:11px; height:11px; border-radius:3px; margin-right:4px; vertical-align:-1px; }
.heat-grid { display:flex; flex-wrap:wrap; gap:8px; }
.heat-cell { min-width:64px; height:62px; border-radius:8px; color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; font-weight:600; font-size:.68rem; line-height:1.15; cursor:pointer; }
.heat-cell .c { font-size:1rem; }
.heat-cell.livre { background:#28a745; } .heat-cell.pendente { background:#ffc107; color:#212529; }
.heat-cell.reservado { background:#dc3545; } .heat-cell.ocupado { background:#0d6efd; }
