/* ==========================================================================
   Footer actions inside unified kbd footer
   ========================================================================== */

.footer-action-btn {
    height: auto;
    padding: 1px 4px;
    font-family: var(--font-mono);
    font-size: var(--text-micro);
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    color: #111;
    background: #fff;
    border: 1px solid #111;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    box-shadow: none;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.footer-action-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 2px 2px 0 #111;
}

.footer-action-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: none;
}

.footer-action-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.kbd-hint .app-bar-meta {
    margin-left: 0;
}

.kbd-hint .refresh-btn {
    width: auto;
    margin-left: 0;
    color: #111;
    border-color: #111;
    background: #fff;
    padding: 1px 4px;
}

.kbd-hint .refresh-btn .icon {
    width: 8px;
    height: 8px;
}

.kbd-hint .full-refresh-btn {
    gap: 0;
}

.kbd-hint .full-refresh-btn .icon + .icon {
    margin-left: -2px;
    margin-right: 3px;
}

.kbd-hint .theme-picker-trigger {
    color: #111;
    border-color: #111;
    background: #fff;
    width: auto;
    padding: 1px 4px;
}

.kbd-hint .theme-picker-trigger .icon {
    margin-right: 2px;
}

.footer-status-wrap,
.footer-theme-wrap {
    position: relative;
}

.footer-status-wrap .status-drawer {
    top: auto;
    bottom: calc(100% + 6px);
    left: 0;
}

.footer-theme-wrap .theme-picker-dropdown {
    position: absolute;
    top: auto;
    bottom: calc(100% + 6px);
    right: 0;
    left: auto;
    max-height: min(70vh, 520px);
}
