/* ClaimsAgent-specific overlays on ClaimSense base styles */

.nav-logout {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.25rem 0.65rem;
    border-radius: 5px;
    cursor: pointer;
}

.nav-logout:hover {
    background: rgba(255, 255, 255, 0.12);
}

.tenant-tabs {
    display: flex;
    gap: 0.35rem;
    margin-right: 1.25rem;
}

.navbar .tenant-tabs a {
    padding: 0.35rem 0.75rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.navbar .tenant-tabs a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
    border-bottom-color: rgba(255, 255, 255, 0.7);
}

.navbar .tenant-tabs a.active {
    background: #fff;
    border-color: #fff;
    border-bottom-color: #fff;
    color: var(--primary);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--primary);
}

.stat-card.auto { border-left-color: var(--green); }
.stat-card.hitl { border-left-color: var(--yellow); }
.stat-card.deny { border-left-color: var(--red); }

.stat-card label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-light);
    margin-bottom: 0.35rem;
}

.stat-card .value {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.2;
}

.stat-card .sub {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.bar-track {
    height: 12px;
    background: var(--border);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    margin: 0.75rem 0 0.35rem;
}

.bar-auto { background: var(--green); height: 100%; }
.bar-hitl { background: var(--yellow); height: 100%; }

.legend {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.legend span::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    margin-right: 0.4rem;
    vertical-align: middle;
}

.legend .l-auto::before { background: var(--green); }
.legend .l-hitl::before { background: var(--yellow); }

.badge-auto {
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    text-transform: uppercase;
}

.badge-hitl {
    background: #fff8e1;
    color: #f57f17;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    text-transform: uppercase;
}

.filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1rem;
}

.filters a.chip {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: var(--bg-alt);
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.filters a.chip.active {
    background: var(--primary);
    color: var(--white);
}

.filters input[type="search"] {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.85rem;
    min-width: 220px;
}

.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; }

.alert-error {
    background: #fce4ec;
    color: #c62828;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
