/* Keyboard Shortcuts Modal */
.shortcuts-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.shortcuts-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

[data-theme="dark"] .shortcuts-modal-content {
    background: #1a1a1b;
    color: #d7dadc;
}

.shortcuts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

[data-theme="dark"] .shortcuts-header {
    border-bottom-color: #343536;
}

.shortcuts-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.shortcuts-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.shortcuts-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .shortcuts-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.shortcuts-body {
    padding: 1.5rem;
}

.shortcut-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

[data-theme="dark"] .shortcut-item {
    border-bottom-color: #2a2a2b;
}

.shortcut-item:last-child {
    border-bottom: none;
}

.shortcut-item kbd {
    min-width: 60px;
    padding: 0.25rem 0.5rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .shortcut-item kbd {
    background: #272729;
    border-color: #343536;
    color: #d7dadc;
}

.shortcut-item span {
    flex: 1;
    color: #6c757d;
}

[data-theme="dark"] .shortcut-item span {
    color: #818384;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

