/**
 * AI创作坊 · 快捷键提示窗口样式
 * 独立命名空间 ai-workshop-shortcuts-*，不与其他面板共用，保证面板独立性
 * 字体：Microsoft YaHei，符合项目字体规范
 */

.ai-workshop-shortcuts-overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s ease, opacity 0.2s ease;
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
}

.ai-workshop-shortcuts-overlay.is-visible {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
}

.ai-workshop-shortcuts-backdrop {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.45);
    cursor: default;
}

.ai-workshop-shortcuts-dialog {
    position: relative;
    width: 90%;
    max-width: 360px;
    max-height: 80vh;
    background-color: #1f1f21;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ai-workshop-shortcuts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.ai-workshop-shortcuts-title {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
}

.ai-workshop-shortcuts-close {
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #a6a6a6;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.ai-workshop-shortcuts-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.ai-workshop-shortcuts-close:focus-visible {
    outline: 2px solid rgba(107, 140, 255, 0.6);
    outline-offset: 2px;
}

.ai-workshop-shortcuts-body {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.ai-workshop-shortcuts-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ai-workshop-shortcuts-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    color: #e0e0e0;
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
}

.ai-workshop-shortcuts-item:last-child {
    border-bottom: none;
}

.ai-workshop-shortcuts-key {
    flex-shrink: 0;
    min-width: 32px;
    padding: 4px 8px;
    font-size: 12px;
    font-family: Consolas, "Courier New", monospace;
    color: #333333;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    text-align: center;
}

.ai-workshop-shortcuts-desc {
    flex: 1;
}
