/* Reusable Clio fleet stats panel + Certified sub-navigation */

.theboard-certified-subnav-wrap {
    margin: 8px 0 20px;
}

.theboard-certified-subnav {
    display: flex;
    gap: 6px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 4px;
    width: 100%;
    max-width: 480px;
}

.theboard-certified-subnav-btn {
    flex: 1;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 10px 14px;
    min-height: 44px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.theboard-certified-subnav-btn:hover:not(.active) {
    background: rgba(96, 165, 250, 0.08);
    color: var(--text-primary);
}

.theboard-certified-subnav-btn.active {
    background: var(--primary-color, #60a5fa);
    color: #fff;
    box-shadow: 0 2px 8px rgba(96, 165, 250, 0.35);
}

.theboard-certified-subnav-btn:focus-visible {
    outline: 2px solid var(--primary-color, #60a5fa);
    outline-offset: 2px;
}

.theboard-certified-pane[hidden] {
    display: none !important;
}

.theboard-certified-pane {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.clio-fleet-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.clio-fleet-stats .theboard-hero-meta-value {
    word-break: break-all;
}

@media (max-width: 767px) {
    .theboard-certified-subnav {
        max-width: none;
    }
}
