/* Vape Law Tracker - original design, not a copy of any third-party site */

.vlt-widget {
    max-width: 90%;
    margin: 40px auto;
    padding: 32px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 24px rgba(20, 30, 60, 0.08);
    font-family: inherit;
}

.vlt-header {
    text-align: center;
    margin-bottom: 24px;
}

.vlt-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #082b77;
    background: #eef2ff;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.vlt-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1f36;
    margin: 0 0 8px;
}

.vlt-subtitle {
    color: #666f85;
    font-size: 15px;
    max-width: 560px;
    margin: 0 auto;
}

/* Legend */
.vlt-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.vlt-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid #e3e6ee;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #33394a;
    cursor: pointer;
    transition: all .15s ease;
}

.vlt-legend-item:hover {
    border-color: var(--vlt-color);
    background: #fafbff;
}

.vlt-legend-item.is-active {
    border-color: var(--vlt-color);
    background: var(--vlt-color);
    color: #fff;
}

.vlt-legend-item.is-active .vlt-dot {
    background: #fff;
}

.vlt-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--vlt-color);
    flex-shrink: 0;
}

.vlt-count {
    font-weight: 800;
    opacity: .7;
}

/* Body: grid + detail panel */
.vlt-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
}

@media (max-width: 820px) {
    .vlt-body {
        grid-template-columns: 1fr;
    }
}

.vlt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
    gap: 8px;
    align-content: start;
}

.vlt-state {
    position: relative;
    height: 52px;
    border: none;
    border-radius: 10px;
    background: var(--vlt-color);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .02em;
    cursor: pointer;
    opacity: 0.92;
    transition: transform .12s ease, opacity .15s ease, box-shadow .15s ease;
}

.vlt-state:hover {
    transform: translateY(-2px);
    opacity: 1;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.vlt-state.is-selected {
    outline: 3px solid #1a1f36;
    outline-offset: 2px;
}

.vlt-state.is-dimmed {
    opacity: 0.18;
}

/* Detail panel */
.vlt-detail {
    background: #f7f8fb;
    border: 1px solid #e9ebf2;
    border-radius: 12px;
    padding: 20px;
    min-height: 200px;
}

.vlt-detail-empty {
    color: #9aa0a6;
    font-size: 14px;
    text-align: center;
    padding-top: 60px;
}

.vlt-detail-state {
    font-size: 20px;
    font-weight: 800;
    color: #1a1f36;
    margin-bottom: 6px;
}

.vlt-detail-cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--vlt-color);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.vlt-detail-summary {
    font-weight: 600;
    color: #33394a;
    margin-bottom: 8px;
}

.vlt-detail-text {
    color: #555c6e;
    font-size: 14px;
    line-height: 1.55;
}

.vlt-detail-source {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #082b77;
    text-decoration: none;
}

.vlt-detail-source:hover {
    text-decoration: underline;
}

.vlt-detail-verified {
    margin-top: 14px;
    font-size: 12px;
    color: #9aa0a6;
}

.vlt-disclaimer {
    margin-top: 24px;
    font-size: 12px;
    color: #9aa0a6;
    text-align: center;
}
