/* Deferred: interactions, dropdown, counters, animations */
@keyframes dbhk-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.dbhotkey-tab-panel.active {
    animation: dbhk-fadeIn 0.3s ease;
}

.dbhotkey-tab-btn {
    transition: color 0.2s, background 0.2s;
}

.dbhotkey-tab-btn:hover {
    color: var(--dbhk-f-text);
}

.dbhotkey-pdf-btn {
    padding: 0;
    border-radius: 8px;
    transition: color 0.2s;
}

.dbhotkey-pdf-btn:hover {
    color: var(--dbhk-f-primary);
}

.dbhotkey-search-input {
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dbhotkey-search-input:focus {
    border-color: var(--dbhk-f-primary);
    box-shadow: 0 0 0 3px rgba(var(--dbhk-f-primary-rgb, 99, 102, 241), 0.2);
}

.dbhotkey-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.25rem;
    background: var(--dbhk-f-card);
    border: 1px solid var(--dbhk-f-card-border);
    border-radius: var(--dbhk-f-radius-sm);
    box-shadow: var(--dbhk-f-shadow);
    max-height: 320px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.dbhotkey-search-results.visible {
    display: block;
    animation: dbhk-fadeIn 0.2s ease;
}

.dbhotkey-search-item {
    display: block;
    padding: 0.65rem 1rem;
    color: var(--dbhk-f-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.15s;
}

.dbhotkey-search-item:hover,
.dbhotkey-search-item:focus {
    background: rgba(var(--dbhk-f-primary-rgb, 99, 102, 241), 0.1);
    outline: none;
}

.dbhotkey-search-highlight {
    background: rgba(var(--dbhk-f-primary-rgb, 99, 102, 241), 0.35);
    font-weight: 600;
    padding: 0.05em 0.15em;
    border-radius: 3px;
}

.dbhotkey-search-empty {
    padding: 1rem;
    color: var(--dbhk-f-text-muted);
    font-size: 0.95rem;
    text-align: center;
}

.dbhotkey-programs-count {
    text-align: center;
}

.dbhotkey-programs-count .dbhotkey-stat {
    color: var(--dbhk-f-primary);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.dbhotkey-programs-count .dbhotkey-info {
    margin: 0.25rem 0 0;
    font-size: 0.95rem;
    color: var(--dbhk-f-text-muted);
}
