body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.navbar-brand {
    font-size: 1.1rem;
    letter-spacing: -0.3px;
}

.card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08) !important;
}

.rounded-4 { border-radius: 1rem !important; }
.rounded-bottom-4 { border-bottom-left-radius: 1rem !important; border-bottom-right-radius: 1rem !important; }

.badge { font-weight: 500; }

.table > :not(caption) > * > * {
    padding: 0.85rem 0.75rem;
}

.progress { border-radius: 10px; }
.progress-bar { border-radius: 10px; }

.alert { border-radius: 0.75rem; border: none; }

.btn { border-radius: 0.6rem; }
.btn-sm { border-radius: 0.5rem; }

.form-control, .form-select {
    border-radius: 0.6rem;
    border: 1px solid #dee2e6;
}

.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.input-group-text {
    border-radius: 0.6rem 0 0 0.6rem;
    background-color: #f8f9fa;
}

footer { font-size: 0.8rem; }

/* ── Modo de Apresentação ─────────────────────────────────────────────────── */
body.valores-ocultos .vf {
    filter: blur(7px);
    transition: filter 0.3s ease;
    user-select: none;
    cursor: pointer;
}

body.valores-ocultos canvas {
    filter: blur(12px);
    transition: filter 0.3s ease;
}

/* Botão flutuante de toggle */
#btnModoApresentacao {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

#btnModoApresentacao:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

#btnModoApresentacao.ativo {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #212529 !important;
}
