/* Keyboard Shortcuts Styles */
.shortcuts-container {
    padding: 0;
    margin-top: 2rem;
    border-top: 2px solid #eee;
    padding-top: 1.5rem;
}

.shortcuts-category {
    margin-bottom: 1.5rem;
}

.shortcuts-category:last-child {
    margin-bottom: 0;
}

.shortcuts-category-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c5530;
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #eee;
}

.shortcuts-items {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.shortcut-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.shortcut-keys {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.shortcut-key {
    display: inline-block;
    padding: 0.2rem 0.4rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: #495057;
    text-align: center;
    min-width: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.shortcut-key.modifier-key {
    background: #e9ecef;
    border-color: #ced4da;
    color: #343a40;
}

.mouse-action {
    display: inline-block;
    padding: 0.2rem 0.4rem;
    background: #e8f5e8;
    border: 1px solid #c3e6c3;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: #2c5530;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.shortcut-plus {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
}

.shortcut-label {
    font-size: 0.875rem;
    color: #333;
    line-height: 1.2;
    flex-grow: 1;
    text-align: right;
}

/* Platform-specific styles for Mac */
.platform-mac .modifier-key {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.platform-mac .redo-shortcut {
    display: none;
}

.platform-mac .redo-shortcut-mac {
    display: flex;
}

/* Default redo shortcut for non-Mac */
.redo-shortcut-mac {
    display: none;
}