/* =====================
   키보드 단축키 스타일
   ===================== */

/* Task 선택 상태 */
.today-task.selected,
.matrix-task.selected {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
    background: rgba(26, 115, 232, 0.05);
}

/* 단축키 도움말 모달 */
.shortcut-help-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.2s ease;
}

.shortcut-help-modal {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.shortcut-help-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.shortcut-help-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.shortcut-help-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.shortcut-help-content {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.shortcut-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.shortcut-item:last-child {
    border-bottom: none;
}

.shortcut-item kbd {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 4px 10px;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 14px;
    font-weight: 600;
    min-width: 32px;
    text-align: center;
    box-shadow: 0 2px 0 #ddd;
}

.shortcut-item span {
    font-size: 14px;
    color: #333;
}

/* 애니메이션 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .shortcut-help-modal {
        width: 95%;
        max-height: 85vh;
    }

    .shortcut-help-content {
        padding: 16px;
    }

    .shortcut-item {
        gap: 12px;
        padding: 8px 0;
    }
}
