/* ── Modifier toggle buttons ── */
.modifier-btn.active {
    color: #fff !important;
    background-color: currentColor;
}
.btn-outline-primary.modifier-btn.active  { background-color: #0d6efd; border-color: #0d6efd; }
.btn-outline-warning.modifier-btn.active  { background-color: #ffc107; border-color: #ffc107; color: #000 !important; }
.btn-outline-secondary.modifier-btn.active { background-color: #6c757d; border-color: #6c757d; }

/* ── Typography ── */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
}

/* ── Cards ── */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

/* ── Navbar brand ── */
.navbar-brand {
    font-weight: 700;
    color: #0d6efd !important;
}

/* ── Footer ── */
.site-footer {
    margin-top: 5rem;
    padding: 2rem 0;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.site-footer a {
    color: #495057;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.site-footer a:hover {
    color: #0d6efd;
}

.btn-coffee {
    background-color: #FFDD00;
    border-color: #FFDD00;
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
    margin-top: 1rem;
    font-weight: 500;
}

.btn-coffee:hover {
    background-color: #FFD700;
    border-color: #FFD700;
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.footer-text {
    font-size: 1.1rem;
    color: #6c757d;
}

.disclaimer-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
    line-height: 1.4;
}

.data-source {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

/* ── Search dropdown ── */
.search-item-match {
    background-color: #e9ecef;
}

/* ── CPT tag pills ── */
.cpt-tag {
    background-color: #0d6efd;
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.cpt-tag:hover {
    background-color: #0b5ed7;
    transform: translateY(-1px);
}

.cpt-tag .btn-close {
    width: 0.5rem;
    height: 0.5rem;
    margin-left: 0.5rem;
    filter: invert(1) grayscale(100%) brightness(200%);
    cursor: pointer;
}

.cpt-tag .btn-close:focus {
    box-shadow: none;
}

/* ── Compare page ── */
.delta-positive {
    color: #198754;
    font-weight: 500;
}

.delta-negative {
    color: #dc3545;
    font-weight: 500;
}

.delta-neutral {
    color: #6c757d;
}

/* ── API docs ── */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    padding: 4rem 0;
}

.code-block {
    background: #212529;
    color: #f8f9fa;
    border-radius: 6px;
    padding: 1.5rem;
    position: relative;
}

.code-block pre {
    margin: 0;
    white-space: pre-wrap;
}

.method-badge {
    font-weight: 600;
    width: 60px;
    display: inline-block;
    text-align: center;
}
