:root { --brand: #1f3b73; --brand-2: #2f5cb8; }
body { background: #f3f5f9; }
.bg-brand { background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.navbar .nav-link.active { background: rgba(255,255,255,.15); border-radius: .375rem; }
.navbar .badge { font-size: .65rem; position: relative; top: -8px; left: -4px; }
.card-header { border-bottom: 1px solid #eef0f4; }
.kpi { transition: transform .1s; }
.kpi:hover { transform: translateY(-2px); }
.kpi-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.text-pre { white-space: pre-line; }
.table td, .table th { vertical-align: middle; }
.table thead th { font-size: .8rem; font-weight: 600; color: #555; white-space: nowrap; }

/* μπάρες */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 180px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; }
.bar-pair { flex: 1; display: flex; align-items: flex-end; gap: 2px; width: 100%; justify-content: center; }
.bar { width: 45%; max-width: 18px; border-radius: 3px 3px 0 0; min-height: 1px; }
.bar-a, .legend-a { background: #9db4e3; }
.bar-b, .legend-b { background: #2f9e62; }
.bar-label { font-size: .7rem; color: #777; margin-top: 4px; }
.legend { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }

/* guest */
body.guest { background: linear-gradient(135deg, #1f3b73 0%, #2f5cb8 55%, #6d8fd6 100%); }
body.guest .text-muted.small, body.guest h1 { color: #fff !important; }
.guest-logo { width: 64px; height: 64px; margin: 0 auto; border-radius: 16px; background: #fff; color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.g-recaptcha { transform-origin: center; }
@media (max-width: 360px) { .g-recaptcha { transform: scale(.85); } }

.items-remove { cursor: pointer; }
.totals td { border: none; }

a { text-decoration: none; }
a:hover { text-decoration: underline; }
.btn:hover, .nav-link:hover, .dropdown-item:hover, .list-group-item-action:hover, .kpi:hover { text-decoration: none; }
