/* ═══════════════════════════════════════════════════════════════
   Dashboard Switcher — pill bar for switching between dashboards
   Prefix: sk-dash-
   ═══════════════════════════════════════════════════════════════ */

.sk-dash-switcher {
    margin: 12px 15px 0;
    padding: 0;
}

.sk-dash-switcher-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 12px;
    padding: 8px 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid #e8ecf1;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* scrollbar painting moved to sk-scrollbar.css (app-wide Signature Line standard) */
}

.sk-dash-switcher-label {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a2a4a, #223d66);
    border-radius: 8px;
    color: #c9a84c;
    font-size: 14px;
}

.sk-dash-switcher-pills {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    min-width: 0;
}

.sk-dash-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 500;
    color: #4a5568;
    background: #f7f9fc;
    border: 1px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sk-dash-pill:hover {
    background: #edf2f7;
    color: #1a2a4a;
    text-decoration: none;
    border-color: #cbd5e0;
}

.sk-dash-pill:focus {
    text-decoration: none;
    outline: none;
}

.sk-dash-pill.active {
    background: linear-gradient(135deg, #1a2a4a, #223d66);
    color: #fff;
    border-color: #1a2a4a;
    box-shadow: 0 2px 6px rgba(26,42,74,0.25);
}

.sk-dash-pill.active i {
    color: #c9a84c;
}

.sk-dash-pill i {
    font-size: 12px;
    opacity: 0.8;
}

/* Responsive: on small screens, pills scroll horizontally */
@media (max-width: 768px) {
    .sk-dash-switcher {
        margin: 8px 10px 0;
    }
    .sk-dash-switcher-inner {
        padding: 6px 8px;
    }
    .sk-dash-pill {
        padding: 5px 10px;
        font-size: 11.5px;
    }
    .sk-dash-pill span {
        display: none;
    }
    .sk-dash-pill i {
        font-size: 14px;
        opacity: 1;
    }
}

@media print {
    .sk-dash-switcher { display: none !important; }
}
